diff --git a/src/Classes/Maps.lua b/src/Classes/Maps.lua index b0a452fda02..15c0ce78d4c 100644 --- a/src/Classes/Maps.lua +++ b/src/Classes/Maps.lua @@ -612,7 +612,7 @@ local function HarvestExploration(simplify) -- Make sure the exploration header has all the objects for _,areaID in ipairs(areaIDs) do if not byExplorationID[areaID] then - o = app.CreateExploration(areaID); + local o = app.CreateExploration(areaID); o.mapID = mapID; o.parent = explorationHeader; tinsert(explorationHeader.g, o); @@ -1015,4 +1015,4 @@ app.AddEventRegistration("BOSS_KILL", function(id, name, ...) -- Waiting until the LOOT_CLOSED occurs will prevent the failed Auto Loot bug. -- print("BOSS_KILL", id, name, ...); app:RegisterEvent("LOOT_CLOSED"); -end); \ No newline at end of file +end);