mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-17 04:11:23 -05:00
guns slight changes and modding desktop conditionals
This commit is contained in:
parent
bfd6325c43
commit
f346cf096b
1 changed files with 4 additions and 0 deletions
|
@ -6,7 +6,9 @@ import flixel.group.FlxGroup.FlxTypedGroup;
|
|||
import flixel.text.FlxText;
|
||||
import flixel.util.FlxColor;
|
||||
import polymod.Polymod;
|
||||
#if desktop
|
||||
import sys.FileSystem;
|
||||
#end
|
||||
|
||||
class ModdingSubstate extends MusicBeatSubstate
|
||||
{
|
||||
|
@ -92,6 +94,7 @@ class ModdingSubstate extends MusicBeatSubstate
|
|||
var modList = [];
|
||||
modFolders = [];
|
||||
|
||||
#if desktop
|
||||
for (file in FileSystem.readDirectory('./mods'))
|
||||
{
|
||||
if (FileSystem.isDirectory('./mods/' + file))
|
||||
|
@ -113,6 +116,7 @@ class ModdingSubstate extends MusicBeatSubstate
|
|||
|
||||
loopNum++;
|
||||
}
|
||||
#end
|
||||
}
|
||||
|
||||
private function organizeByY():Void
|
||||
|
|
Loading…
Reference in a new issue