Fix modul currency disable function

This commit is contained in:
robin 2021-06-15 18:39:26 +02:00
parent 575545aa45
commit bb2e5464e0
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ end
function modul:Disable()
self.status = false
for event, func in pairs(events) do
if(not child:IsClassic() or (child:IsClassic() and not skipClassic[event])) then
if(not skip[WOW_PROJECT_ID] or not skip[WOW_PROJECT_ID][event]) then
self.frame:UnregisterEvent(event)
end
end