Documentation and Optimization Part 1 (#2)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
@@ -107,7 +107,7 @@ var result_angles = []
|
||||
func _ready():
|
||||
# Find player animations
|
||||
$player_animations.add_item("")
|
||||
for anim_name in $player.get_animations_list():
|
||||
for anim_name in $player.get_animation_player.get_sprite_frames().get_animation_names():
|
||||
$player_animations.add_item(anim_name)
|
||||
|
||||
# Set initial angles
|
||||
|
||||
Reference in New Issue
Block a user