move the code to tilemapscene

This commit is contained in:
Anthony Calosa
2022-08-13 13:05:44 +08:00
committed by GitHub
parent fb8f1fdeb9
commit f33ec785b0

View File

@@ -969,12 +969,6 @@ public class Forge implements ApplicationListener {
MapStage.getInstance().clearIsInMap();
currentScene = newScene;
if (currentScene instanceof TileMapScene) {
if (((TileMapScene)currentScene).inTown()) {
Current.player().fullHeal();
}
}
currentScene.enter();
return true;
}