mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix this
This commit is contained in:
parent
3bb549f7e7
commit
7e40f74ae8
1 changed files with 2 additions and 0 deletions
|
|
@ -658,6 +658,8 @@ class Marble extends GameObject {
|
|||
}
|
||||
|
||||
function loadMarbleAttributes() {
|
||||
if (this.level == null || this.level.mission == null)
|
||||
return;
|
||||
var attribs = this.level.mission.marbleAttributes;
|
||||
if (attribs.exists("maxrollvelocity"))
|
||||
this._maxRollVelocity = MisParser.parseNumber(attribs.get("maxrollvelocity"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue