From 9b330e33921526cc72914e1649729892d273915e Mon Sep 17 00:00:00 2001 From: Simpy Date: Fri, 15 Nov 2024 14:03:59 -0500 Subject: [PATCH] readd vars for HC specific --- ElvUI/Core/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ElvUI/Core/init.lua b/ElvUI/Core/init.lua index 0f7832707f..788b47cb19 100644 --- a/ElvUI/Core/init.lua +++ b/ElvUI/Core/init.lua @@ -194,6 +194,12 @@ do E.ClassicSOD = season == 2 -- Season of Discovery E.ClassicAnniv = season == 11 -- Anniversary E.ClassicAnnivHC = season == 12 -- Anniversary Hardcore + + local IsHardcoreActive = C_GameRules and C_GameRules.IsHardcoreActive + E.IsHardcoreActive = IsHardcoreActive and IsHardcoreActive() + + local IsEngravingEnabled = C_Engraving and C_Engraving.IsEngravingEnabled + E.IsEngravingEnabled = IsEngravingEnabled and IsEngravingEnabled() end -- Item Qualitiy stuff, also used by MerathilisUI