From 689600d2dc230cfc4f705edbce69b188dd779597 Mon Sep 17 00:00:00 2001 From: StraToN Date: Fri, 13 May 2022 08:49:39 +0000 Subject: [PATCH] chore: storing version and changelog --- CHANGELOG.md | 9 +++++++++ .../game/core-scripts/esc/esc_action_manager.gd | 2 +- .../game/core-scripts/esc/esc_event_manager.gd | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02171b3c..42650545 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [4.0.0-alpha.184](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.184) (2022-05-13) + + +### Bug Fixes + +* prevents duplicate item registration ([#587](https://github.com/godot-escoria/escoria-demo-game/issues/587)) ([0fd0ba4](https://github.com/godot-escoria/escoria-demo-game/commit/0fd0ba45ae1799e9ddca18693e84811478101006)) + + + ## [4.0.0-alpha.183](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.183) (2022-05-11) diff --git a/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd b/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd index daf6d127..72b222f4 100644 --- a/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd +++ b/addons/escoria-core/game/core-scripts/esc/esc_action_manager.gd @@ -526,7 +526,7 @@ func perform_inputevent_on_object( # In case of an interrupted walk, we don't want to proceed. if context == null: return - + destination_position = context.target_position dont_interact = context.dont_interact_on_arrival diff --git a/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd b/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd index 6fb709b6..5194d1ae 100644 --- a/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd +++ b/addons/escoria-core/game/core-scripts/esc/esc_event_manager.gd @@ -297,11 +297,11 @@ func interrupt(exceptions: PoolStringArray = []) -> void: for event in events_queue[channel_name]: if event.name in exceptions: continue - + escoria.logger.debug("Interrupting queued event %s in channel %s..." % [event.name, channel_name]) event.interrupt() - + events_queue[channel_name].clear()