mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
commit
74253908d5
2 files changed
+5
-3
No files matched your search
@@ -19,6 +19,8 @@ OUTPUT_TANK_PICTURE_PATH = nil
|
||||
OUTPUT_TANK_ICON_PATH = nil
|
||||
|
||||
|
||||
|
||||
OUTPUT_FILE = "output.txt"
|
||||
ORDER_FILE = "orders.txt"
|
||||
ORDER_FILE = "orders.txt"
|
||||
|
||||
|
||||
UPATE_RATE = 60
|
||||
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user