Skip to content

Commit

Permalink
Update goweti.gd
Browse files Browse the repository at this point in the history
  • Loading branch information
telmotrooper authored May 25, 2022
1 parent 91adbcf commit 18a0262
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/goweti/goweti.gd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func _on_AnimationPlayer_animation_finished(anim_name: String):
func _on_FloatingPlatformTimer_timeout():
if direction == MOVING_CLOSER:
$AnimationPlayer.play("move_platforms")
direction = MOVING_AWAY
else: # MOVING_AWAY
$AnimationPlayer.play_backwards("move_platforms")
direction = !direction
direction = MOVING_CLOSER

0 comments on commit 18a0262

Please sign in to comment.