From c13964c1d278c5176f9279790bd3a88f4e0a8fad Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Mon, 12 Mar 2018 22:45:48 +0000 Subject: [PATCH] Fixed Again --- StandAlone/paths.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StandAlone/paths.lua b/StandAlone/paths.lua index 7c93f867..b508ff72 100644 --- a/StandAlone/paths.lua +++ b/StandAlone/paths.lua @@ -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