From ff7033b7cf10e619d06d538abd92a3f6cb09f81c Mon Sep 17 00:00:00 2001 From: Sandman534 <45305344+Sandman534@users.noreply.github.com> Date: Sat, 7 Sep 2024 17:28:57 -0700 Subject: [PATCH] Fix Minimap Tracking --- Modules/AutoShow.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/AutoShow.lua b/Modules/AutoShow.lua index aeec415..6b724f2 100644 --- a/Modules/AutoShow.lua +++ b/Modules/AutoShow.lua @@ -78,12 +78,12 @@ end function AutoShow:MINIMAP_UPDATE_TRACKING() for i = 1, GetNumTrackingTypes() do - local name, texture, active, category = GetTrackingInfo(i) - if tracking_spells[name] then - if active then - active_tracking[tracking_spells[name]] = true + local info = GetTrackingInfo(i) + if tracking_spells[info.name] then + if info.active then + active_tracking[tracking_spells[info.name]] = true else - active_tracking[tracking_spells[name]] = false + active_tracking[tracking_spells[info.name]] = false end end end