diff --git a/src/Marble.hx b/src/Marble.hx index a88af423..a4c61baa 100644 --- a/src/Marble.hx +++ b/src/Marble.hx @@ -666,7 +666,7 @@ class Marble extends GameObject { } function loadMarbleAttributes() { - if (this.level == null || this.level.mission == null || this.level.marbleAttributes == null) + if (this.level == null || this.level.mission == null || this.level.mission.marbleAttributes == null) return; var attribs = this.level.mission.marbleAttributes; if (attribs.exists("maxrollvelocity"))