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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user