diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-09-11 10:16:58 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-09-11 10:16:58 +0200 |
commit | cece0a3f36115b839f813ed05322c6c1a8e3201d (patch) | |
tree | 8c1600eb5382d29b98e4325b51b965618badddc9 /Scenes/Utilities.gd | |
parent | 294f87adb4441ec25316601505ca1a7e97fa24c7 (diff) |
Diffstat (limited to 'Scenes/Utilities.gd')
-rw-r--r-- | Scenes/Utilities.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scenes/Utilities.gd b/Scenes/Utilities.gd index 092e853..3332ce6 100644 --- a/Scenes/Utilities.gd +++ b/Scenes/Utilities.gd @@ -48,7 +48,7 @@ func change_scene_with_player_to_position( Global.player = player Global.last_area = null - player.get_node("AnimatedSprite2D").play("idle_" + facing) + player.get_node("AnimatedSprite2D").play("idle_" + facing + "_" + player.sprite_version) var targetPlayerPositionNode = scene.get_node(targetPlayerPositionNodePath) player.position = targetPlayerPositionNode.position |