From 9f78defb87498286df006b7930e3be59f1821074 Mon Sep 17 00:00:00 2001 From: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com> Date: Thu, 7 Dec 2023 21:52:21 +0100 Subject: [PATCH] fixed see saw bug --- Assets/Scripts/Games/SeeSaw/SeeSawGuy.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Games/SeeSaw/SeeSawGuy.cs b/Assets/Scripts/Games/SeeSaw/SeeSawGuy.cs index eb125faac..5b4e0f05b 100644 --- a/Assets/Scripts/Games/SeeSaw/SeeSawGuy.cs +++ b/Assets/Scripts/Games/SeeSaw/SeeSawGuy.cs @@ -157,6 +157,7 @@ namespace HeavenStudio.Games.Scripts_SeeSaw if (!hasChangedAnimMidAir) anim.Play("Jump_InOut_Tuck", 0, 0); hasChangedAnimMidAir = true; } + transform.position = GetPathPositionFromBeat(currentPath, Math.Max(startBeat, currentBeat), startBeat); break; case JumpState.HighInIn: if (currentBeat >= startBeat + 1 && !hasChangedAnimMidAir && see)