easteregg: fix new-year conflict with afkcam

This commit is contained in:
shagu
2019-04-07 12:05:54 +02:00
parent 63697e44f4
commit 5cea1235e9
+1 -1
View File
@@ -30,7 +30,7 @@ pfUI:RegisterModule("easteregg", function ()
-- happy new year
if date("%m%d") == "1231" or date("%m%d") == "0101" then
local fireworks = CreateFrame("Button", "pfFireworks", UIParent)
local fireworks = CreateFrame("Button", "pfFireworks", WorldFrame)
fireworks:SetFrameStrata("DIALOG")
fireworks:SetAllPoints()
fireworks:Hide()