Enhancement: load game scene once to allow run scene directly (#406)

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian Murgia
2021-10-01 07:53:44 +02:00
committed by GitHub
parent df78b52b8a
commit ae34094196
12 changed files with 109 additions and 60 deletions

View File

@@ -58,6 +58,8 @@ func clear_scene() -> void:
escoria.action_manager.clear_current_action()
escoria.action_manager.clear_current_tool()
current_scene.remove_child(escoria.game_scene)
remove_child(current_scene)
current_scene.free()