v2.0.2: fixed actTransition not checking if a floor is locked

This commit is contained in:
Evan Debenham
2023-04-03 16:11:10 -04:00
parent ebe388b800
commit 7781918372
@@ -1151,7 +1151,7 @@ public class Hero extends Char {
Camera.main.shake(1, 1f);
ready();
return false;
} else if (transition != null && transition.inside(pos)) {
} else if (!Dungeon.level.locked && transition != null && transition.inside(pos)) {
if (transition.type == LevelTransition.Type.SURFACE){
if (belongings.getItem( Amulet.class ) == null) {