From 460dacb0b21883d27035075c556685003dfeb614 Mon Sep 17 00:00:00 2001 From: RDW Date: Sat, 18 Feb 2023 18:33:25 +0100 Subject: [PATCH] UI: Updated the Floating Combat Text detection Blizzard has apparently replaced the magic global with a proper CVar. --- Core/GUI/MainWindow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/GUI/MainWindow.lua b/Core/GUI/MainWindow.lua index 90b0a627..9de04905 100644 --- a/Core/GUI/MainWindow.lua +++ b/Core/GUI/MainWindow.lua @@ -1156,7 +1156,7 @@ local function addGroup(group, requiresGroup) ) end Rarity:Print(text) - if tostring(SHOW_COMBAT_TEXT) ~= "0" then + if CVarCallbackRegistry:GetCVarValueBool("enableFloatingCombatText") then if type(CombatText_AddMessage) == "nil" then UIParentLoadAddOn("Blizzard_CombatText") end