mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 12:31:41 +09:00
Fixed Line 55 In Paths
This commit is contained in:
@@ -50,7 +50,7 @@ local function remove_key(surface,pos)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function clean_global()
|
local function clean_global()
|
||||||
if not global.paths 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] < game.tick-clean_time then global.paths[key] = nil end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user