Only wrote files on the server, might resolve some crashes

This commit is contained in:
Danielv123 committed 2018-04-21 08:05:40 +02:00
1 parent bf9886d7ee
commit 8f2d22cbd8
4 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -6,4 +6,4 @@ for _, tech in pairs(game.forces["player"].technologies) do
table.insert(data, tech.name .. ":" .. tostring(tech.researched) .. ":" .. tostring(tech.level));
end
game.write_file("researchSync.txt", table.concat(data, "\n"))
game.write_file("researchSync.txt", table.concat(data, "\n"), false, 0)