1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

update in code

This commit is contained in:
Toledin 2018-02-01 15:26:23 -05:00
parent bed75803ff
commit 6f591a1c20

View File

@ -6,6 +6,6 @@ function bot_command_players(filename)
end
end
function bot_command_time()
game.print(math.floor(game.tick / 60))
function bot_command_time(filename)
game.write_file(filename, string.format("Time since server start (%d):"),#math.floor(game.tick / 60)
end