mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28: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();
|
||||
currentScene = newScene;
|
||||
|
||||
if (currentScene instanceof TileMapScene) {
|
||||
if (((TileMapScene)currentScene).inTown()) {
|
||||
Current.player().fullHeal();
|
||||
}
|
||||
}
|
||||
|
||||
currentScene.enter();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user