diff Main.lua @ 104:1bb078930f23

Call SetMapToCurrentZone() before attempting to get player coordinates.
author James D. Callahan III <jcallahan@curse.com>
date Tue, 04 Sep 2012 11:54:47 -0500
parents a40bcfcef0f4
children f9c81739cfe6
line wrap: on
line diff
--- 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")