v0.9.2a: fixed hallway rooms still spawning as empty with 1 connection
This commit is contained in:
parent
ba7d0ac112
commit
62236bdf5a
|
@ -54,12 +54,6 @@ public class HallwayRoom extends StandardRoom {
|
|||
Painter.fill( level, this, Terrain.WALL );
|
||||
Painter.fill( level, this, 1 , Terrain.EMPTY );
|
||||
|
||||
if (connected.size() < 2){
|
||||
//don't want to make a hallway between doors that don't exist
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Rect c = getConnectionSpace();
|
||||
|
||||
for (Door door : connected.values()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user