Skip to content

Commit

Permalink
fix bad global reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuller committed Apr 20, 2018
1 parent bc5b9e0 commit faa69b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/blizzardHider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
want visible when running Dominos
--]]

local AddonName, Addon =...

local hiddenFrame = CreateFrame('Frame', nil, _G['UIParent'], 'SecureFrameTemplate');
hiddenFrame:Hide()

Expand All @@ -11,6 +13,7 @@ local function disableFrame(frameName, unregisterEvents)

if not frame then
Addon:Print('Unknown Frame', frameName)
return
end

frame:SetParent(hiddenFrame)
Expand Down

0 comments on commit faa69b9

Please sign in to comment.