Permalink
Browse files

fix bad global reference

  • Loading branch information...
Tuller committed Apr 20, 2018
1 parent bc5b9e0 commit faa69b9af1875882f551a5acbfa3c46144a0b2f2
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/blizzardHider.lua
@@ -3,6 +3,8 @@
want visible when running Dominos
--]]
+local AddonName, Addon =...
+
local hiddenFrame = CreateFrame('Frame', nil, _G['UIParent'], 'SecureFrameTemplate');
hiddenFrame:Hide()
@@ -11,6 +13,7 @@ local function disableFrame(frameName, unregisterEvents)
if not frame then
Addon:Print('Unknown Frame', frameName)
+ return
end
frame:SetParent(hiddenFrame)

0 comments on commit faa69b9

Please sign in to comment.