fx: sprite playing behaviour

This commit is contained in:
djaidjai committed 2026-03-01 15:43:13 +01:00
1 parent 9dd1d45698
commit 241dfb3073
7 files changed
+8 -6

No files matched your search

@@ -6,6 +6,7 @@ func enter(previous_state_path: String, data := {}) -> void:
if data.has("target"):
target = data["target"]
owner.sprite.play("Hunting")
owner.wrapper.play_sprite("Hunting")
else:
# default behaviour; do nothing
finished.emit(owner.fsm.States.IDLE, {})
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.