fix errorspew in movesideside enemies without an AnimatedSprite (fixes #88)

This commit is contained in:
Haze Weathers 2023-05-10 21:42:55 -04:00
parent 28920ef700
commit 0655605091
7 changed files with 13 additions and 10 deletions

View file

@ -45,6 +45,7 @@ extents = Vector2( 4, 4 )
[node name="Snake" type="Node2D" groups=["enemy"]]
script = ExtResource( 3 )
score_for_killing = 15
node_to_flip = NodePath("AnimatedSprite")
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
material = SubResource( 1 )