Fix wrong variable used

This commit is contained in:
Robin Hüskes 2023-01-22 16:35:39 +01:00
parent 70ef3cfde1
commit 050f77bc1d
1 changed files with 1 additions and 1 deletions

View File

@ -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