Clean after change room: game scene is cleanly removed from prev room (#416)

This commit is contained in:
Julian Murgia
2021-10-19 15:48:26 +02:00
committed by GitHub
parent 4fd1d72993
commit 89da6924a3
4 changed files with 22 additions and 4 deletions

View File

@@ -38,6 +38,12 @@ func _enter_tree():
"_on_action_finished"
)
func _exit_tree():
escoria.action_manager.disconnect(
"action_finished",
self,
"_on_action_finished"
)
## BACKGROUND ##