Merge pull request #12 from orsolya-st/cems-awesome-branch

dash correction
This commit is contained in:
cemt1363
2026-06-06 01:39:12 +02:00
committed by GitHub
+1 -1
View File
@@ -72,7 +72,7 @@ public class DropletMovement : MonoBehaviour
float originalGravity = rb.gravityScale;
rb.gravityScale = 0f;
rb.linearVelocity = new Vector2(transform.localScale.x * dashingPower, 0f);
rb.linearVelocity = new Vector2(facingDirection * dashingPower, 0f);
if (tr != null)
{