cc deprecated


4 years ago
0.18
13

g Improve preformance

4 years ago

I noticed you were using
script.on_event(defines.events.on_tick, landfill_check)
with
if event.tick % (1000) == 0 then

this calculation is much more efficient if you use
script.on_nth_tick(1000, landfill_check)

New response