Fix speedy berry jump height

This commit is contained in:
2025-06-11 14:06:32 -07:00
parent d6fa5154f7
commit e5eaa1d973

View File

@@ -270,7 +270,7 @@ public class GamePlayer : MonoBehaviour
{
lastMoveTime = Time.time;
AudioSource.PlayClipAtPoint(Resources.Load<AudioClip>("Sounds/Jump"), Camera.main.transform.position, 0.75f * PlayerPrefs.GetFloat("sfxVolume", 1f));
if (boostLeft > 0f)
if (boostLeft > 0f || speedyLeft > 0f)
{
rb.linearVelocity = UnityEngine.Vector2.up * 12f;
}