mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix synchronization issue
This commit is contained in:
parent
14d5432071
commit
c6c1449a84
1 changed files with 2 additions and 2 deletions
|
|
@ -1118,12 +1118,12 @@ class MarbleWorld extends Scheduler {
|
||||||
});
|
});
|
||||||
#end
|
#end
|
||||||
} else {
|
} else {
|
||||||
if (!this._loadBegin)
|
if (!this._loadBegin || lock)
|
||||||
return;
|
return;
|
||||||
if (!_ready && !postInited) {
|
if (!_ready && !postInited) {
|
||||||
postInited = true;
|
postInited = true;
|
||||||
Console.log("Finished loading, starting mission");
|
Console.log("Finished loading, starting mission");
|
||||||
haxe.Timer.delay(() -> postInit(), 5); // delay this a bit
|
haxe.Timer.delay(() -> postInit(), 15); // delay this a bit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue