diff --git a/source/funkin/ui/charSelect/CharSelectSubState.hx b/source/funkin/ui/charSelect/CharSelectSubState.hx index bb0ff7ea8..466030aca 100644 --- a/source/funkin/ui/charSelect/CharSelectSubState.hx +++ b/source/funkin/ui/charSelect/CharSelectSubState.hx @@ -1100,11 +1100,14 @@ class CharSelectSubState extends MusicBeatSubState if (autoFollow && !pressedSelect && memb.animation.curAnim?.name != 'idle') { memb.animation.play("confirm", false, true); - var onFinish:String->Void = (_) -> + + var onFinish:String->Void; + onFinish = (_) -> { member.animation.play('idle'); - member.animation.onFinish.removeAll(); + member.animation.onFinish.remove(onFinish); }; + member.animation.onFinish.add(onFinish); } }