mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
move the code to tilemapscene
This commit is contained in:
@@ -969,12 +969,6 @@ public class Forge implements ApplicationListener {
|
|||||||
MapStage.getInstance().clearIsInMap();
|
MapStage.getInstance().clearIsInMap();
|
||||||
currentScene = newScene;
|
currentScene = newScene;
|
||||||
|
|
||||||
if (currentScene instanceof TileMapScene) {
|
|
||||||
if (((TileMapScene)currentScene).inTown()) {
|
|
||||||
Current.player().fullHeal();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
currentScene.enter();
|
currentScene.enter();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user