mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-24 23:43:12 +09:00
Fixed Again
This commit is contained in:
1 parent
aeaa10eb3e
commit
c13964c1d2
1 file changed
+1
-1
@@ -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