Change weapon fixed rate delay not to require update every tick

This commit is contained in:
2025-01-04 21:06:07 +00:00
parent 39e3e4ae00
commit 698bb081dd
9 changed files with 877950 additions and 550608 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ defaultEquipUse = UseEquip
defaultHeldUse :: ItemUse
defaultHeldUse = UseHeld
{ _heldDelay = FixedRate{_rateMax = 8, _rateTime = 0}
{ _heldDelay = FixedRate{_rateMax = 8, _rateTimeLastUsed = 0}
-- , _heldHammer = HammerUp
, _heldAim = defaultAimParams
, _heldParams = BulletShooterParams