v1.0.2.9: Fix false second cooldown on hotbar actions
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -169,6 +169,10 @@ namespace HSUI.Helpers
|
||||
int secsLeft = (int)Math.Ceiling(remaining);
|
||||
return (pct, secsLeft);
|
||||
}
|
||||
// Cooldown complete (elapsed >= total). Return 0 — do NOT fall through to GetSlotCooldownFromSlot,
|
||||
// as the slot can report a stale/false cooldown (e.g. shared recast group or cached state).
|
||||
if (total > 0.001f)
|
||||
return (0, 0);
|
||||
}
|
||||
|
||||
return GetSlotCooldownFromSlot(slot);
|
||||
|
||||
Reference in New Issue
Block a user