Skip to content

Commit

Permalink
Change global functions to C_Minimap functions
Browse files Browse the repository at this point in the history
Fixes #5
  • Loading branch information
GurliGebis committed Apr 30, 2024
1 parent 5efa050 commit 34f56e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/HealBandageButtons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ end
function module:CheckMinimapTracking()
local name, icon, active;

for i = 1, _G.GetNumTrackingTypes() do
name, icon, active = _G.GetTrackingInfo(i);
for i = 1, C_Minimap.GetNumTrackingTypes() do
name, icon, active = C_Minimap.GetTrackingInfo(i);

if( icon == "Interface\\Icons\\tracking_wildpet" ) then
break;
Expand Down

0 comments on commit 34f56e2

Please sign in to comment.