From a11ab7a4eb19a352459dcd93f1f5941f52c6c4ec Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Wed, 21 Dec 2022 17:30:33 +0530 Subject: [PATCH] fix marble teleporterr teleporting in wrong direction and fix finish animation while gyro --- src/Marble.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Marble.hx b/src/Marble.hx index 640b0b57..01e69398 100644 --- a/src/Marble.hx +++ b/src/Marble.hx @@ -293,7 +293,7 @@ class Marble extends GameObject { A = gWorkGravityDir.multiply(this._gravity); if (this.mode == Finish) A = this.velocity.multiply(-16); - if (currentTime - this.helicopterEnableTime < 5) { + if (currentTime - this.helicopterEnableTime < 5 && this.mode != Finish) { A = A.multiply(0.25); } for (obj in level.forceObjects) {