This commit is contained in:
RandomityGuy 2025-02-10 14:19:02 +05:30
parent 3bb549f7e7
commit 7e40f74ae8

View file

@ -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"));