v1.0.2.9: Fix false second cooldown on hotbar actions

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-01-31 14:56:31 -05:00
parent ad74dccfa7
commit bda3762ac8
5 changed files with 16 additions and 9 deletions
+4
View File
@@ -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);