mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-08 08:12:33 +00:00
fix bug
This commit is contained in:
parent
9d040c371c
commit
1454316ca8
1 changed files with 3 additions and 2 deletions
|
|
@ -39,9 +39,10 @@ class ResourceLoader {
|
|||
// static var threadPool:FixedThreadPool = new FixedThreadPool(4);
|
||||
|
||||
public static function init(scene2d:h2d.Scene, onLoadedFunc:Void->Void) {
|
||||
// hxd.res.Resource.LIVE_UPDATE = false; // Disable live update to save frames
|
||||
hxd.res.Resource.LIVE_UPDATE = false; // Disable live update to save frames
|
||||
@:privateAccess hxd.res.Image.ENABLE_AUTO_WATCH = false;
|
||||
// @:privateAccess hxd.res.Sound.ENABLE_AUTO_WATCH = false;
|
||||
@:privateAccess hxd.res.Sound.ENABLE_AUTO_WATCH = false;
|
||||
haxe.MainLoop.add(() -> {});
|
||||
#if (js || android)
|
||||
var mfileSystem = ManifestBuilder.create("data");
|
||||
var mloader = new ManifestLoader(mfileSystem);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue