It's a simple fix - remove "local ticks = 59" from the control.lua file and replace function ticker() with this:
Code: Select all
function ticker()
if global.eqChests ~= nil then
if global.ticks == nil or global.ticks == 0 then
global.ticks = 59
processEqChests()
else
global.ticks = global.ticks - 1
end
else
script.on_event(defines.events.on_tick, nil)
end
end