v0.3.2c: fixed a crash in levelgen

This commit is contained in:
Evan Debenham
2015-11-18 22:40:57 -05:00
committed by Evan Debenham
parent 8bf7794bb6
commit ef44eaad08
3 changed files with 3 additions and 3 deletions
@@ -74,7 +74,7 @@ public class PrisonLevel extends RegularLevel {
@Override
protected boolean assignRoomType() {
super.assignRoomType();
if (!super.assignRoomType()) return false;
for (Room r : rooms) {
if (r.type == Type.TUNNEL) {