# HG changeset patch # User James D. Callahan III # Date 1349204801 18000 # Node ID f8a5080a60c68cad4d9675105f67ae1b989dfec7 # Parent ba5422e37516e3b3d2fc8f6f2d1b0f0ae66cfa5c Set coordinates to 0, 0 if WorldMapFrame is shown. diff -r ba5422e37516 -r f8a5080a60c6 Main.lua --- a/Main.lua Tue Oct 02 13:25:19 2012 -0500 +++ b/Main.lua Tue Oct 02 14:06:41 2012 -0500 @@ -239,6 +239,9 @@ local function CurrentLocationData() + if _G.WorldMapFrame:IsVisible() then + return _G.GetRealZoneText(), current_area_id, 0, 0, 0, InstanceDifficultyToken() + end local map_level = _G.GetCurrentMapDungeonLevel() or 0 local x, y = _G.GetPlayerMapPosition("player")