From 6cf5ef446876442f6a00ac6a040b05a2927f29d2 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Wed, 27 May 2026 23:00:04 -0500 Subject: [PATCH] Update easteregg.lua --- modules/easteregg.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/easteregg.lua b/modules/easteregg.lua index 142bd020..6c1a0b9d 100644 --- a/modules/easteregg.lua +++ b/modules/easteregg.lua @@ -1,6 +1,7 @@ pfUI:RegisterModule("easteregg", function () + local today = date("%m%d") -- merry x-mas! - if date("%m%d") == "1224" or date("%m%d") == "1225" then + if today == "1224" or today == "1225" then local title = (UnitFactionGroup("player") == "Horde") and PVP_RANK_18_0 or PVP_RANK_18_1 local oldflag = _G.CHAT_FLAG_AFK @@ -29,7 +30,7 @@ pfUI:RegisterModule("easteregg", function () end -- happy new year - if date("%m%d") == "1231" or date("%m%d") == "0101" then + if today == "1231" or today == "0101" then local fireworks = CreateFrame("Button", "pfFireworks", WorldFrame) fireworks:SetFrameStrata("DIALOG") fireworks:SetAllPoints()