saving progress

This commit is contained in:
allylikesfrogs committed 2023-05-05 17:13:40 -07:00
1 parent 54efc7d934
commit f7c7c19649
3 files changed
+94 -342

No files matched your search

+2 -2
View File
@@ -313,10 +313,10 @@ public class PlayerMovement : MonoBehaviour
//Caps maximum fall speed, so when falling over large distances we don't accelerate to insanely high speeds
RB.velocity = new Vector2(RB.velocity.x, Mathf.Max(RB.velocity.y, -Data.maxFallSpeed));
}
else if (playerBehavior.isInWater)
/*else if (playerBehavior.isInWater)
{
SetGravityScale(0);
}
}*/
else
{
//Default gravity if standing on a platform or moving upwards