Quantcast

Don't allow waypoint placement on the cosmic map

James Whitehead II [11-04-12 - 10:11]
Don't allow waypoint placement on the cosmic map
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 1b6a0b3..f5fdc16 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -440,7 +440,7 @@ WorldMapButton_OnClick = function(self, ...)
         local m,f = GetCurrentMapAreaID()
         local x,y = GetCurrentCursorPosition()

-        if not m then
+        if not m or m == WORLDMAP_COSMIC_ID then
             return origScript and origScript(self, ...) or true
         end