v2.1.4: fixed pitfall traps working on thee mining level
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user