From f4a715d7f442a17ea52d75f654d630aa22c7c17d Mon Sep 17 00:00:00 2001 From: Ghostopheles Date: Thu, 1 Aug 2024 05:52:41 -0500 Subject: [PATCH] Register missing cvar --- Datamine/Settings/SettingsCore.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Datamine/Settings/SettingsCore.lua b/Datamine/Settings/SettingsCore.lua index 11b9a30..6dee0af 100644 --- a/Datamine/Settings/SettingsCore.lua +++ b/Datamine/Settings/SettingsCore.lua @@ -8,6 +8,10 @@ local CreateDropdownInitializer = Settings.CreateDropdownInitializer or Settings local version, bild = GetBuildInfo(); local IS_FUTURE = (version == "11.0.2") and tonumber(bild) > 55763; +if C_CVar.GetCVar("debugTargetInfo") == nil then + C_CVar.RegisterCVar("debugTargetInfo", 0); +end + Datamine.Settings = {}; Datamine.Setting = {