Fixed locked characters not showing up properly when selected

This commit is contained in:
EliteMasterEric
2025-06-17 15:08:48 -04:00
committed by Eric
parent c4aff95886
commit 49eff01afd
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -203,6 +203,10 @@
"label": "Debug",
"args": ["-debug", "-DFEATURE_DEBUG_FUNCTIONS"]
},
{
"label": "Debug (Unlock Everything)",
"args": ["-debug", "-DUNLOCK_EVERYTHING"]
},
{
"label": "Debug (Tracy)",
"args": ["-debug", "-DFEATURE_DEBUG_TRACY", "-DFEATURE_DEBUG_FUNCTIONS"]
@@ -905,7 +905,7 @@ class CharSelectSubState extends MusicBeatSubState
cursorY = -1;
}
if (availableChars.exists(getCurrentSelected()) && Save.instance.charactersSeen.contains(availableChars[getCurrentSelected()]))
if (availableChars.exists(getCurrentSelected()) && PlayerRegistry.instance.isCharacterSeen(availableChars[getCurrentSelected()]))
{
curChar = availableChars.get(getCurrentSelected());