refactor: mark all unit buttons dirty instead of calling HealBot_Action_Refresh

This commit is contained in:
Bluewhale1337
2026-09-24 22:31:24 +02:00
parent 1edb4b22bb
commit eb7cbc52f2
+5 -1
View File
@@ -630,7 +630,11 @@ function HealBot_RecalcHeals(unit)
if unit then
HealBot_View_DirtyUnits[unit] = true;
else
HealBot_Action_Refresh();
if HealBot_Action_UnitButtons then
for u, _ in pairs(HealBot_Action_UnitButtons) do
HealBot_View_DirtyUnits[u] = true;
end
end
end
end