v2.0.2: fixed actTransition not checking if a floor is locked
This commit is contained in:
@@ -1151,7 +1151,7 @@ public class Hero extends Char {
|
|||||||
Camera.main.shake(1, 1f);
|
Camera.main.shake(1, 1f);
|
||||||
ready();
|
ready();
|
||||||
return false;
|
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 (transition.type == LevelTransition.Type.SURFACE){
|
||||||
if (belongings.getItem( Amulet.class ) == null) {
|
if (belongings.getItem( Amulet.class ) == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user