fix: manage clearing of current_action when action is interrupted (#584)

* fix: manage clearing of current_action when action is interrupted
* fix: repairs change_scene, add comments and new RC_INTERRUPTED code
* fix: manage ESC commands interruptions, even if running
This commit is contained in:
Julian Murgia
2022-05-01 12:48:02 +02:00
committed by GitHub
parent c21a7b1a23
commit b8983b8b42
58 changed files with 466 additions and 28 deletions

View File

@@ -397,5 +397,6 @@ func _on_action_finished() -> void:
tooltip.clear()
func _on_event_done(_return_code: int, _event_name: String):
escoria.action_manager.clear_current_action()
verbs_menu.unselect_actions()
if _return_code == ESCExecution.RC_OK:
escoria.action_manager.clear_current_action()
verbs_menu.unselect_actions()