Fixed Again

This commit is contained in:
Cooldude2606
2018-03-12 22:45:48 +00:00
parent aeaa10eb3e
commit c13964c1d2

View File

@@ -52,7 +52,7 @@ end
local function clean_global()
if not global.paths or not game then return end
for key,tile in pairs(global.paths) do
if tile[3] < game.tick-clean_time then global.paths[key] = nil end
if tile[3] and tile[3] < game.tick-clean_time then global.paths[key] = nil end
end
end