Fix wrong variable used
This commit is contained in:
parent
70ef3cfde1
commit
050f77bc1d
|
@ -131,7 +131,7 @@ function modul:Enable()
|
|||
list[#list+1] = event
|
||||
end
|
||||
for i = 1, #list do
|
||||
if(not skip[WOW_PROJECT_ID] or not skip[WOW_PROJECT_ID][event]) then
|
||||
if(not skip[WOW_PROJECT_ID] or not skip[WOW_PROJECT_ID][list[i]]) then
|
||||
self['frame']:RegisterEvent(list[i])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue