Quantcast

Update reference from GetQuestLogIndexByID to C_QuestLog.GetLogIndexForQuestID

Ludovicus [10-25-20 - 22:16]
Update reference from GetQuestLogIndexByID to C_QuestLog.GetLogIndexForQuestID
Filename
TomTom_POIIntegration.lua
diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua
index 3eceacb..622fdf1 100755
--- a/TomTom_POIIntegration.lua
+++ b/TomTom_POIIntegration.lua
@@ -175,7 +175,7 @@ local function poi_OnClick(self, button)

     QuestPOIUpdateIcons()

-    local questIndex = GetQuestLogIndexByID(self.questID)
+    local questIndex = C_QuestLog.GetLogIndexForQuestID(self.questID)
     local title, completed, x, y

     if questIndex and questIndex ~= 0 then