record pressedTime when player is performing mainAttack

This commit is contained in:
2025-08-29 12:46:41 +01:00
parent a58953e90d
commit 1f726539da
4 changed files with 18 additions and 13 deletions

View File

@@ -148,7 +148,7 @@ struct
fun helpGet (player: player, x, y, xOffset, yOffset, ratio, rx, ry, windowWidth, windowHeight) =
case #mainAttack player of
MAIN_ATTACKING amt =>
MAIN_ATTACKING {animTimer = amt, ...} =>
(case #facing player of
FACING_RIGHT =>
let