fixed see saw bug

This commit is contained in:
Rapandrasmus 2023-12-07 21:52:21 +01:00
parent 7346e17446
commit 9f78defb87

View file

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