Skip to content

Commit

Permalink
Update CharSelectSubState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Sep 25, 2024
1 parent 41d7f15 commit 62ee1be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/funkin/ui/charSelect/CharSelectSubState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,9 @@ class CharSelectSubState extends MusicBeatSubState
if (cursorY < -1) cursorY = 1;
if (cursorY > 1) cursorY = -1;

final validChar:Bool = availableChars.exists(getCurrentSelected())
&& Save.instance.charactersSeen.contains(availableChars[getCurrentSelected()]);

if (activeControls)
{
if (moved)
Expand Down

0 comments on commit 62ee1be

Please sign in to comment.