v3.3.0: fixed possible NPE in escape crystal
This commit is contained in:
@@ -95,7 +95,7 @@ public class EscapeCrystal extends Item {
|
|||||||
LevelTransition.Type.BRANCH_EXIT);
|
LevelTransition.Type.BRANCH_EXIT);
|
||||||
InterlevelScene.mode = InterlevelScene.Mode.ASCEND;
|
InterlevelScene.mode = InterlevelScene.Mode.ASCEND;
|
||||||
Game.switchScene( InterlevelScene.class );
|
Game.switchScene( InterlevelScene.class );
|
||||||
detach(hero.belongings.backpack);
|
detachAll(hero.belongings.backpack);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user