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 authored and GitHub committed 2022-05-01 12:48:02 +02:00
1 parent c21a7b1a23
commit b8983b8b42
58 files changed
+466 -28

No files matched your search

+3 -2
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()