v2.1.4: fixed pitfall traps working on thee mining level

This commit is contained in:
Evan Debenham
2023-07-03 14:29:27 -04:00
parent 9067a486cd
commit 82263e30c0

View File

@@ -48,7 +48,7 @@ public class PitfallTrap extends Trap {
@Override @Override
public void activate() { public void activate() {
if( Dungeon.bossLevel() || Dungeon.depth > 25){ if( Dungeon.bossLevel() || Dungeon.depth > 25 || Dungeon.branch != 0){
GLog.w(Messages.get(this, "no_pit")); GLog.w(Messages.get(this, "no_pit"));
return; return;
} }