wonky polygon ui rework

This commit is contained in:
Lilith Schier 2026-08-30 22:03:36 +02:00
parent 6bdc9617b2
commit 6c55d719ff
22 changed files with 165 additions and 117 deletions

View file

@ -260,13 +260,11 @@ public sealed partial class Player : CharacterBody2D, IAttackable, IHitboxOwner,
public void OnEnteredWater(Node2D body)
{
GD.Print("Entered water");
IsInWater = true;
}
public void OnLeftWater(Node2D body)
{
GD.Print("Left water");
if (!IsInWater || SubmersedSensor.HasOverlappingBodies()) return;
IsInWater = false;
WaterJumpAllowedTimer.Start();