Quantcast

Call EnableDisablePOIIntegration() only in retail.

Ludovicus [05-18-21 - 22:42]
Call EnableDisablePOIIntegration() only in retail.
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 926cd77..dab13f7 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -199,7 +199,7 @@ function TomTom:Initialize(event, addon)
 end

 function TomTom:Enable(addon)
-    if not TomTom.CLASSIC then
+    if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then
         self:EnableDisablePOIIntegration()
     end
     self:ReloadWaypoints()