This repository was archived by the owner on Mar 31, 2025. It is now read-only.
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1818,12 +1818,15 @@ class FunkinLua {
1818
1818
}
1819
1819
}
1820
1820
1821
- var foldersToCheck : Array <String > = [Paths .mods (' shaders/' )];
1821
+ var foldersToCheck : Array <String > = [Paths .getSharedPath (' shaders/' )];
1822
+ #if MODS_ALLOWED
1823
+ foldersToCheck .push (Paths .mods (' shaders/' ));
1822
1824
if (Mods .currentModDirectory != null && Mods .currentModDirectory .length > 0 )
1823
1825
foldersToCheck .insert (0 , Paths .mods (Mods .currentModDirectory + ' /shaders/' ));
1824
1826
1825
1827
for (mod in Mods .getGlobalMods ())
1826
1828
foldersToCheck .insert (0 , Paths .mods (mod + ' /shaders/' ));
1829
+ #end
1827
1830
1828
1831
for (folder in foldersToCheck )
1829
1832
{
Original file line number Diff line number Diff line change @@ -4859,7 +4859,6 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
4859
4859
}
4860
4860
}
4861
4861
4862
- #if MODS_ALLOWED
4863
4862
for (directory in Mods .directoriesWithFile (Paths .getSharedPath (), mainFolder ))
4864
4863
{
4865
4864
for (file in FileSystem .readDirectory (directory ))
@@ -4879,7 +4878,6 @@ class ChartingState extends MusicBeatState implements PsychUIEventHandler.PsychU
4879
4878
}
4880
4879
}
4881
4880
}
4882
- #end
4883
4881
return fileList ;
4884
4882
}
4885
4883
You can’t perform that action at this time.
0 commit comments