mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 10:05:41 -05:00
fixed compiler conditional thingie
This commit is contained in:
parent
2419af49d6
commit
ea6b7de62d
1 changed files with 24 additions and 23 deletions
|
@ -95,7 +95,6 @@ class ModdingSubstate extends MusicBeatSubstate
|
||||||
var modList = [];
|
var modList = [];
|
||||||
modFolders = [];
|
modFolders = [];
|
||||||
|
|
||||||
#if desktop
|
|
||||||
for (file in FileSystem.readDirectory('./mods'))
|
for (file in FileSystem.readDirectory('./mods'))
|
||||||
{
|
{
|
||||||
if (FileSystem.isDirectory('./mods/' + file))
|
if (FileSystem.isDirectory('./mods/' + file))
|
||||||
|
@ -118,17 +117,19 @@ class ModdingSubstate extends MusicBeatSubstate
|
||||||
loopNum++;
|
loopNum++;
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
} private function organizeByY():Void
|
}
|
||||||
|
|
||||||
|
private function organizeByY():Void
|
||||||
{
|
{
|
||||||
for (i in 0...grpMods.length)
|
for (i in 0...grpMods.length)
|
||||||
{
|
{
|
||||||
grpMods.members[i].y = 10 + (40 * i);
|
grpMods.members[i].y = 10 + (40 * i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} class ModMenuItem extends FlxText
|
}
|
||||||
|
|
||||||
{
|
class ModMenuItem extends FlxText
|
||||||
|
{
|
||||||
public var modEnabled:Bool = false;
|
public var modEnabled:Bool = false;
|
||||||
public var daMod:String;
|
public var daMod:String;
|
||||||
|
|
||||||
|
@ -146,4 +147,4 @@ class ModdingSubstate extends MusicBeatSubstate
|
||||||
|
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue