From 365f8dcfea9569f2edba1ebfceb3d49819ad2b57 Mon Sep 17 00:00:00 2001 From: ImVeryBad Date: Mon, 2 Mar 2026 13:48:32 +0100 Subject: [PATCH] Filter out unavailable difficulties from Story Mode levels. --- source/funkin/ui/story/StoryMenuState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/ui/story/StoryMenuState.hx b/source/funkin/ui/story/StoryMenuState.hx index 27e9d33bd..389dfc693 100644 --- a/source/funkin/ui/story/StoryMenuState.hx +++ b/source/funkin/ui/story/StoryMenuState.hx @@ -507,7 +507,7 @@ class StoryMenuState extends MusicBeatState { // "For now, NO erect in story mode" -Dave - var difficultyList:Array = Constants.DEFAULT_DIFFICULTY_LIST; + var difficultyList:Array = currentLevel.getDifficulties().filter(e -> Constants.DEFAULT_DIFFICULTY_LIST.contains(e)); // Use this line to displays all difficulties // var difficultyList:Array = currentLevel.getDifficulties(); var currentIndex:Int = difficultyList.indexOf(currentDifficultyId);