# HG changeset patch # User James D. Callahan III # Date 1346777687 18000 # Node ID 1bb078930f230921a9d5fc2ab69959639b6e9ad6 # Parent a40bcfcef0f4e1e6846d7ffdcdbe9dc0d2fb8b11 Call SetMapToCurrentZone() before attempting to get player coordinates. diff -r a40bcfcef0f4 -r 1bb078930f23 Main.lua --- a/Main.lua Tue Sep 04 11:50:14 2012 -0500 +++ b/Main.lua Tue Sep 04 11:54:47 2012 -0500 @@ -198,6 +198,8 @@ local function CurrentLocationData() + _G.SetMapToCurrentZone() + local map_level = _G.GetCurrentMapDungeonLevel() or 0 local x, y = _G.GetPlayerMapPosition("player")