1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00

made user groups only save on server

This commit is contained in:
Maik Wild 2017-12-25 23:08:32 +01:00
parent 4a47033955
commit c1231f0ee9

View File

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