From 3d6f03336ca0c8b3d179f0c3fcb2aaf5368fca9f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 16 Nov 2025 15:44:24 +0000 Subject: [PATCH] Fix combo tracking commands - remove load-time existence checks The combotrack/comboclear commands were checking if functions existed at file load time, but ComboPointTracker.lua loads after Core.lua, so the checks always failed. Removed the checks since by runtime (when the user executes the command) all files will be loaded and functions will exist. Fixes "Combo point tracking not available" message. --- Core.lua | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Core.lua b/Core.lua index 01259ca..60d67ad 100644 --- a/Core.lua +++ b/Core.lua @@ -3270,23 +3270,15 @@ SlashCmdList["CLEVEROID"] = function(msg) -- combotrack (show combo point tracking info) if cmd == "combotrack" or cmd == "combo" then - if CleveRoids.ShowComboTracking then - CleveRoids.ShowComboTracking() - else - CleveRoids.Print("Combo point tracking not available") - end + CleveRoids.ShowComboTracking() return end -- comboclear (clear combo tracking data) if cmd == "comboclear" then - if CleveRoids.ComboPointTracking then - CleveRoids.ComboPointTracking = {} - CleveRoids.ComboPointTracking.byID = {} - CleveRoids.Print("Combo point tracking data cleared") - else - CleveRoids.Print("Combo point tracking not available") - end + CleveRoids.ComboPointTracking = {} + CleveRoids.ComboPointTracking.byID = {} + CleveRoids.Print("Combo point tracking data cleared") return end