1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-11-06 09:09:26 +02:00

Schedule check once every 60 ticks

This commit is contained in:
Goldfinger
2017-11-27 11:40:09 -05:00
committed by Maik Wild
parent 9a0dfd78d1
commit b3a9d957a7

View File

@@ -15,6 +15,7 @@ local function mark_corpse(event)
end
local function remove_corpse_marks()
if game.tick % 60 ~= 0 then return end
local tags = global.corpse_util.tags
local size = #tags
for i = size, 1, -1 do