diff --git a/CHANGELOG.md b/CHANGELOG.md index 38b8eb21..00692e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [4.0.0-alpha.146](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.146) (2022-03-24) + + +### Bug Fixes + +* exit loop as soon as command is found ([#550](https://github.com/godot-escoria/escoria-demo-game/issues/550)) ([38e3eb2](https://github.com/godot-escoria/escoria-demo-game/commit/38e3eb264de8e2480e97e504b108b27566d70002)) + + + ## [4.0.0-alpha.145](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.145) (2022-03-23) diff --git a/addons/escoria-core/game/core-scripts/esc_item.gd b/addons/escoria-core/game/core-scripts/esc_item.gd index cf2a8a70..2da735cf 100644 --- a/addons/escoria-core/game/core-scripts/esc_item.gd +++ b/addons/escoria-core/game/core-scripts/esc_item.gd @@ -501,7 +501,7 @@ func start_talking(): and _movable.last_dir >= 0 \ and _movable.last_dir < animations.speaks.size(): var animation_player = get_animation_player() - + if animation_player.is_playing(): animation_player.stop() @@ -522,7 +522,7 @@ func stop_talking(): and _movable.last_dir >= 0 \ and _movable.last_dir < animations.speaks.size(): var animation_player = get_animation_player() - + if animation_player.is_playing(): animation_player.stop()