Harden module initialization order

This commit is contained in:
Dusk-92
2026-08-30 10:24:04 +02:00
parent 57614d7424
commit 48fa6cd025
7 changed files with 188 additions and 128 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ module.enable = function(self)
update = function(frame, event)
-- ignore empty or unrelated events
if not event then return end
if arg1 and this.unitstr ~= arg1 then return end
if arg1 and frame.unitstr ~= arg1 then return end
-- affected debuffs
frame.affected = frame.affected or {}