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

Merge pull request #97 from Valansch/user_groups_output_format_change

Changed user groups output format
This commit is contained in:
Valansch 2017-10-23 01:32:10 +02:00 committed by GitHub
commit e578416b23

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