From eb7cbc52f2c05b779b6b6853e51009e555fe6011 Mon Sep 17 00:00:00 2001 From: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com> Date: Thu, 24 Sep 2026 22:31:24 +0200 Subject: [PATCH] refactor: mark all unit buttons dirty instead of calling HealBot_Action_Refresh --- HealBot_Controller_Spells.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/HealBot_Controller_Spells.lua b/HealBot_Controller_Spells.lua index e84201d..b9bea6c 100644 --- a/HealBot_Controller_Spells.lua +++ b/HealBot_Controller_Spells.lua @@ -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