mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 13:11:42 +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,7 +3012,8 @@ class MarbleWorld extends Scheduler {
|
||||||
sky.dispose();
|
sky.dispose();
|
||||||
sky = null;
|
sky = null;
|
||||||
instanceManager = null;
|
instanceManager = null;
|
||||||
collisionWorld.dispose();
|
if (collisionWorld != null)
|
||||||
|
collisionWorld.dispose();
|
||||||
collisionWorld = null;
|
collisionWorld = null;
|
||||||
particleManager = null;
|
particleManager = null;
|
||||||
namedObjects = null;
|
namedObjects = null;
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ class MPEndGameGui extends GuiImage {
|
||||||
headerML.extent = new Vector(750, 14);
|
headerML.extent = new Vector(750, 14);
|
||||||
headerML.horizSizing = Width;
|
headerML.horizSizing = Width;
|
||||||
headerML.text.textColor = 0xFFFFFF;
|
headerML.text.textColor = 0xFFFFFF;
|
||||||
headerML.text.text = ' Name Score ${hasPlatinum ? " " : ""} Marble';
|
headerML.text.text = ' Name Score ${hasPlatinum ? " " : ""} Marble';
|
||||||
middleCtrl.addChild(headerML);
|
middleCtrl.addChild(headerML);
|
||||||
|
|
||||||
var ourRank = scores.indexOf(scores.filter(x -> x.us == true)[0]) + 1;
|
var ourRank = scores.indexOf(scores.filter(x -> x.us == true)[0]) + 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue