diff --git a/.vscode/settings.json b/.vscode/settings.json index 14bf5d11e..80ad09b21 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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"] diff --git a/source/funkin/ui/charSelect/CharSelectSubState.hx b/source/funkin/ui/charSelect/CharSelectSubState.hx index 2b2a73525..201fb9470 100644 --- a/source/funkin/ui/charSelect/CharSelectSubState.hx +++ b/source/funkin/ui/charSelect/CharSelectSubState.hx @@ -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());