added UPDATE_RATE to config

This commit is contained in:
TheAIBot committed 2016-08-16 11:43:18 +02:00
1 parent 7beef11f08
commit 4897f019f6
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ script.on_event(defines.events.on_tick, function(event)
global.outputList = global.outputList or {}
global.inputList = global.inputList or {}
local todo = game.tick % 6
local todo = game.tick % UPATE_RATE
if todo == 0 then
HandleInputChests()