From 8f97640e1be03f817326f68d051673c1489ec22f Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Mon, 4 Aug 2025 18:09:19 +0700 Subject: [PATCH] Fix override --- source/funkin/menus/FreeplayState.hx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/source/funkin/menus/FreeplayState.hx b/source/funkin/menus/FreeplayState.hx index 6c8bdf5b..42952043 100644 --- a/source/funkin/menus/FreeplayState.hx +++ b/source/funkin/menus/FreeplayState.hx @@ -477,13 +477,8 @@ class FreeplaySonglist { if (useTxt) { var oldPath = Paths.txt('freeplaySonglist'); var newPath = Paths.txt('config/freeplaySonglist'); - trace(oldPath, newPath, source); - if (Paths.assetsTree.existsSpecific(newPath, "TEXT", source)) { - trace('new'); - songsFound = CoolUtil.coolTextFile(newPath); - } + if (Paths.assetsTree.existsSpecific(newPath, "TEXT", source)) songsFound = CoolUtil.coolTextFile(newPath); else if (Paths.assetsTree.existsSpecific(oldPath, "TEXT", source)) { - trace('old'); Logs.warn("data/freeplaySonglist.txt is deprecated and will be removed in the future. Please move the file to data/config/", DARKYELLOW, "FreeplaySonglist"); songsFound = CoolUtil.coolTextFile(oldPath); } @@ -507,7 +502,7 @@ class FreeplaySonglist { songList.getSongsFromSource(SOURCE, useTxt); songList.getSongsFromSource(MODS, useTxt); default /*case 'override'*/: - if (!songList.getSongsFromSource(MODS, useTxt)) + if (songList.getSongsFromSource(MODS, useTxt)) songList.getSongsFromSource(SOURCE, useTxt); }