From 6ec5f6f76a933dff731af1542d0ef629c9e44e9c Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sun, 4 Nov 2012 11:11:41 +0100 Subject: [PATCH] Don't allow waypoint placement on the cosmic map --- TomTom.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5