From 36c584e70d557559654f3970aa59b0e6cef2746d Mon Sep 17 00:00:00 2001 From: orsolya-st Date: Sat, 6 Jun 2026 17:37:51 +0200 Subject: [PATCH] fix --- Game/Assets/Scripts/DropletMovement.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index 43c4356..8d33940 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -40,7 +40,7 @@ public class DropletMovement : MonoBehaviour { //dashing - if (isDashing || isGrounded == false) + if (isDashing) { return; } @@ -149,7 +149,7 @@ public class DropletMovement : MonoBehaviour private void OnCollisionEnter2D(Collision2D col) { - if (col.collider.CompareTag("Platform") && rb.linearVelocity.y == 0) + if (col.collider.CompareTag("Platform")) { isGrounded = true; }