From 920a20f3fff47546660b0dc39ee050b9fe9ec9a2 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 22 Oct 2012 07:17:40 +0200 Subject: [PATCH] Fix niltable error --- sources/ArchaeologyDigSites.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/ArchaeologyDigSites.lua b/sources/ArchaeologyDigSites.lua index 61a68b1..0261187 100644 --- a/sources/ArchaeologyDigSites.lua +++ b/sources/ArchaeologyDigSites.lua @@ -35,8 +35,8 @@ local function UpdateDigSites() SetMapByID(continent) end + local sites = {} if continent then - local sites = {} for idx = 1, GetNumMapLandmarks() do local name, desc, textureIdx, px, py = GetMapLandmarkInfo(idx) local zoneName, mapFile, texPctX, texPctY, texX, texY, scrollX, scrollY = UpdateMapHighlight(px, py) -- 1.7.9.5