mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 15:30:41 +09:00
researchSync: Fixed importing research
This commit is contained in:
1 parent
c9bd26a01e
commit
1d0d9765bd
4 files changed
+43
-37
No files matched your search
@@ -3,10 +3,7 @@
|
||||
local lines = "";
|
||||
|
||||
for _, tech in pairs(game.forces["player"].technologies) do
|
||||
local dict = {};
|
||||
dict[tech.name] = tech.researched;
|
||||
lines = lines .. serpent.line(dict) .. "\n";
|
||||
lines = lines .. tech.name .. ":" .. tostring(tech.researched) .. "\n";
|
||||
end
|
||||
|
||||
game.write_file("researchSync.txt",lines)
|
||||
|
||||
Reference in new issue
Block a user