mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-05-04 16:41:43 +00:00
minor load crash fixes
This commit is contained in:
parent
e40625d451
commit
41a356ca65
2 changed files with 3 additions and 2 deletions
|
|
@ -3012,6 +3012,7 @@ class MarbleWorld extends Scheduler {
|
||||||
sky.dispose();
|
sky.dispose();
|
||||||
sky = null;
|
sky = null;
|
||||||
instanceManager = null;
|
instanceManager = null;
|
||||||
|
if (collisionWorld != null)
|
||||||
collisionWorld.dispose();
|
collisionWorld.dispose();
|
||||||
collisionWorld = null;
|
collisionWorld = null;
|
||||||
particleManager = null;
|
particleManager = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue