mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 13:01:39 +09:00
Fixed Again
This commit is contained in:
@@ -52,7 +52,7 @@ end
|
|||||||
local function clean_global()
|
local function clean_global()
|
||||||
if not global.paths or not game then return end
|
if not global.paths or not game then return end
|
||||||
for key,tile in pairs(global.paths) do
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user