This commit is contained in:
RandomityGuy 2025-02-10 22:25:58 +05:30
parent 5cfe49c166
commit 7fd6f00cf7

View file

@ -666,7 +666,7 @@ class Marble extends GameObject {
} }
function loadMarbleAttributes() { 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; return;
var attribs = this.level.mission.marbleAttributes; var attribs = this.level.mission.marbleAttributes;
if (attribs.exists("maxrollvelocity")) if (attribs.exists("maxrollvelocity"))