v0.3.2b: fixed a bug where multiple pit rooms would generate
This commit is contained in:
parent
e662fa4cb1
commit
ec49a78bc4
|
@ -210,7 +210,7 @@ public abstract class RegularLevel extends Level {
|
|||
r.width() > 3 && r.height() > 3 &&
|
||||
Random.Int( specialRooms * specialRooms + 2 ) == 0) {
|
||||
|
||||
if (pitRoomNeeded) {
|
||||
if (pitRoomNeeded && !pitMade) {
|
||||
|
||||
r.type = Type.PIT;
|
||||
pitMade = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user