diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 98399c51d..2d6d5a5b5 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -1076,7 +1076,7 @@ public class Hero extends Char { curAction = new HeroAction.Unlock( cell ); - } else if (cell == Dungeon.level.exit) { + } else if (cell == Dungeon.level.exit && Dungeon.depth < 26) { curAction = new HeroAction.Descend( cell );