From 1e4550527e68bd0398700eab54d22d45716933fe Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Sat, 21 Oct 2023 22:44:58 +0530 Subject: [PATCH] fix rewind + blast wave --- src/Marble.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Marble.hx b/src/Marble.hx index 7253bd92..ac5bbe45 100644 --- a/src/Marble.hx +++ b/src/Marble.hx @@ -1829,6 +1829,10 @@ class Marble extends GameObject { this.helicopter.setPosition(1e8, 1e8, 1e8); this.helicopterSound.pause = true; } + if (this.blastUseTime > currentTime) { + this.blastUseTime = Math.POSITIVE_INFINITY; + this.blastWave.doSequenceOnceBeginTime = 0; + } if (currentTime - this.blastUseTime < this.blastWave.dts.sequences[0].duration) { this.blastWave.setPosition(x, y, z); this.blastWave.setRotationQuat(this.level.getOrientationQuat(this.level.timeState.currentAttemptTime));