fixed compiler conditional thingie

This commit is contained in:
Cameron Taylor 2021-03-18 16:26:39 -04:00
parent 2419af49d6
commit ea6b7de62d

View file

@ -95,7 +95,6 @@ class ModdingSubstate extends MusicBeatSubstate
var modList = [];
modFolders = [];
#if desktop
for (file in FileSystem.readDirectory('./mods'))
{
if (FileSystem.isDirectory('./mods/' + file))
@ -118,16 +117,18 @@ class ModdingSubstate extends MusicBeatSubstate
loopNum++;
}
#end
} private function organizeByY():Void
}
private function organizeByY():Void
{
for (i in 0...grpMods.length)
{
grpMods.members[i].y = 10 + (40 * i);
}
}
} class ModMenuItem extends FlxText
}
class ModMenuItem extends FlxText
{
public var modEnabled:Bool = false;
public var daMod:String;