mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-20 13:53:13 +00:00
conditionals for HTML5
This commit is contained in:
parent
383a3758e4
commit
5848160819
|
@ -1,7 +1,9 @@
|
||||||
package;
|
package;
|
||||||
|
|
||||||
import flixel.text.FlxText;
|
import flixel.text.FlxText;
|
||||||
|
#if desktop
|
||||||
import sys.FileSystem;
|
import sys.FileSystem;
|
||||||
|
#end
|
||||||
|
|
||||||
class ModdingSubstate extends MusicBeatSubstate
|
class ModdingSubstate extends MusicBeatSubstate
|
||||||
{
|
{
|
||||||
|
@ -11,6 +13,7 @@ class ModdingSubstate extends MusicBeatSubstate
|
||||||
|
|
||||||
// var pathShit
|
// var pathShit
|
||||||
|
|
||||||
|
#if desktop
|
||||||
var modList = [];
|
var modList = [];
|
||||||
|
|
||||||
for (file in FileSystem.readDirectory('./mods'))
|
for (file in FileSystem.readDirectory('./mods'))
|
||||||
|
@ -29,5 +32,6 @@ class ModdingSubstate extends MusicBeatSubstate
|
||||||
|
|
||||||
loopNum++;
|
loopNum++;
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue