Skip to content

Commit

Permalink
fix(core): account for updating unknown auras
Browse files Browse the repository at this point in the history
Apparently we get update data for stuff we don't know of yet ...
  • Loading branch information
Rainrider committed Feb 19, 2023
1 parent 2530f87 commit f3a92dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/AuraTools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ local aurasMetatable = {

for _, auraInstanceID in next, info.updatedAuraInstanceIDs or empty do
if not IsAuraFilteredOutByInstanceID(unit, auraInstanceID, filter) then
ProcessAura(
self[auraInstanceID] = ProcessAura(
GetAuraDataByAuraInstanceID(unit, auraInstanceID),
rawget(self, auraInstanceID)
rawget(self, auraInstanceID) or new()
)
end
end
Expand Down

0 comments on commit f3a92dc

Please sign in to comment.