Skip to content

Commit

Permalink
UI: Updated the Floating Combat Text detection
Browse files Browse the repository at this point in the history
Blizzard has apparently replaced the magic global with a proper CVar.
  • Loading branch information
rdw-software committed Feb 18, 2023
1 parent e262b89 commit 460dacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/GUI/MainWindow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 460dacb

Please sign in to comment.