From 7fc8e6d85bd911f3dfa0661c953d8c34acb24549 Mon Sep 17 00:00:00 2001 From: skiwcad <152933089+skiwcad@users.noreply.github.com> Date: Wed, 4 Jun 2025 14:23:20 +0000 Subject: [PATCH] convert difficulty to lowercase before checking difficulty scripts folder (#646) --- source/funkin/game/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 8c8f5f8a..bff696ce 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -615,7 +615,7 @@ class PlayState extends MusicBeatState // ADD YOUR HARDCODED SCRIPTS HERE! default: var normal = 'songs/${SONG.meta.name.toLowerCase()}/scripts'; - var scriptsFolders:Array = [normal, normal + '/$difficulty/', 'data/charts/', 'songs/']; + var scriptsFolders:Array = [normal, normal + '/${difficulty.toLowerCase()}/', 'data/charts/', 'songs/']; for (folder in scriptsFolders) { for (file in Paths.getFolderContent(folder, true, fromMods ? MODS : BOTH)) {