Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 8f97640

Browse files
committed
Fix override
1 parent 38997b4 commit 8f97640

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

source/funkin/menus/FreeplayState.hx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,8 @@ class FreeplaySonglist {
477477
if (useTxt) {
478478
var oldPath = Paths.txt('freeplaySonglist');
479479
var newPath = Paths.txt('config/freeplaySonglist');
480-
trace(oldPath, newPath, source);
481-
if (Paths.assetsTree.existsSpecific(newPath, "TEXT", source)) {
482-
trace('new');
483-
songsFound = CoolUtil.coolTextFile(newPath);
484-
}
480+
if (Paths.assetsTree.existsSpecific(newPath, "TEXT", source)) songsFound = CoolUtil.coolTextFile(newPath);
485481
else if (Paths.assetsTree.existsSpecific(oldPath, "TEXT", source)) {
486-
trace('old');
487482
Logs.warn("data/freeplaySonglist.txt is deprecated and will be removed in the future. Please move the file to data/config/", DARKYELLOW, "FreeplaySonglist");
488483
songsFound = CoolUtil.coolTextFile(oldPath);
489484
}
@@ -507,7 +502,7 @@ class FreeplaySonglist {
507502
songList.getSongsFromSource(SOURCE, useTxt);
508503
songList.getSongsFromSource(MODS, useTxt);
509504
default /*case 'override'*/:
510-
if (!songList.getSongsFromSource(MODS, useTxt))
505+
if (songList.getSongsFromSource(MODS, useTxt))
511506
songList.getSongsFromSource(SOURCE, useTxt);
512507
}
513508

0 commit comments

Comments
 (0)