1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-17 21:08:08 +02:00

Changed user groups output format

This commit is contained in:
Valansch 2017-10-23 01:30:39 +02:00
parent 05f78d6ce6
commit dff94ed033

View File

@ -1,6 +1,6 @@
function update_group(position)
local file = position .. ".lua"
game.write_file(file, "return\n{\n", false)
game.write_file(file, "{", false)
local group = global.scenario.variables[position]
local line = ""
for player_name,_ in pairs(group) do