mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-25 09:06:03 +00:00
unitframes: reset aggro state
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ function pfUI.api.UnitHasAggro(unit)
|
||||
return aggrodata[unit].state
|
||||
end
|
||||
|
||||
aggrodata[unit] = aggrodata[unit] or { check = GetTime(), state = 0}
|
||||
aggrodata[unit] = { check = GetTime(), state = 0}
|
||||
|
||||
if UnitExists(unit) and UnitIsFriend(unit, "player") then
|
||||
for u in pairs(pfValidUnits) do
|
||||
|
||||
Reference in New Issue
Block a user