fix synch issue

This commit is contained in:
RandomityGuy 2023-05-04 14:30:53 +05:30
parent 58b7c13ee9
commit 3265f873c5

View file

@ -991,7 +991,7 @@ class MarbleWorld extends Scheduler {
}); });
#end #end
} else { } else {
if (this._resourcesLoaded < _loadingLength) if (this._resourcesLoaded < _loadingLength || lock)
return; return;
if (!_ready) if (!_ready)
postInit(); postInit();