From 30a98871367b494c85934cd3fcfa91eeb774a7d5 Mon Sep 17 00:00:00 2001 From: gamerbross <55158797+gamerbross@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:20:10 +0200 Subject: [PATCH] Fix bf changing twice on enter --- source/funkin/ui/charSelect/CharSelectSubState.hx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/funkin/ui/charSelect/CharSelectSubState.hx b/source/funkin/ui/charSelect/CharSelectSubState.hx index c8311ce974..3c0e7fa2f7 100644 --- a/source/funkin/ui/charSelect/CharSelectSubState.hx +++ b/source/funkin/ui/charSelect/CharSelectSubState.hx @@ -790,9 +790,7 @@ class CharSelectSubState extends MusicBeatSubState cursorY = -1; } - if (autoFollow - && availableChars.exists(getCurrentSelected()) - && Save.instance.charactersSeen.contains(availableChars[getCurrentSelected()])) + if (availableChars.exists(getCurrentSelected()) && Save.instance.charactersSeen.contains(availableChars[getCurrentSelected()])) { curChar = availableChars.get(getCurrentSelected()); @@ -846,7 +844,7 @@ class CharSelectSubState extends MusicBeatSubState selectTimer.cancel(); } } - else if (autoFollow) + else { curChar = "locked";