From 166548c29d69c92534aa307becb453254f972d69 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Thu, 6 Jun 2024 22:00:17 +0530 Subject: [PATCH] fix blast clientside anim possibly? --- src/Marble.hx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Marble.hx b/src/Marble.hx index fe6db648..9143a52d 100644 --- a/src/Marble.hx +++ b/src/Marble.hx @@ -1937,8 +1937,10 @@ class Marble extends GameObject { } if (Net.isClient && !this.controllable && (this.serverTicks - this.blastUseTick) < 12) { var ticksSince = (this.serverTicks - this.blastUseTick); - this.blastWave.doSequenceOnceBeginTime = this.level.timeState.timeSinceLoad - ticksSince * 0.032; - this.blastUseTime = this.level.timeState.currentAttemptTime - ticksSince * 0.032; + if (ticksSince >= 0) { + this.blastWave.doSequenceOnceBeginTime = this.level.timeState.timeSinceLoad - ticksSince * 0.032; + this.blastUseTime = this.level.timeState.currentAttemptTime - ticksSince * 0.032; + } } // if (this.controllable && Net.isClient) {