v0.9.1c: fixed suspicious chest rooms spawning without doors
This commit is contained in:
parent
db023aafc7
commit
e37a298e3d
|
@ -47,6 +47,10 @@ public class SuspiciousChestRoom extends StandardRoom {
|
||||||
Painter.fill( level, this, Terrain.WALL );
|
Painter.fill( level, this, Terrain.WALL );
|
||||||
Painter.fill( level, this, 1 , Terrain.EMPTY );
|
Painter.fill( level, this, 1 , Terrain.EMPTY );
|
||||||
|
|
||||||
|
for (Door door : connected.values()) {
|
||||||
|
door.set( Door.Type.REGULAR );
|
||||||
|
}
|
||||||
|
|
||||||
Item i = level.findPrizeItem();
|
Item i = level.findPrizeItem();
|
||||||
|
|
||||||
if ( i == null ){
|
if ( i == null ){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user