Factorio: fix coop sync printing desync detected

This commit is contained in:
Fabian Dill 2021-11-14 16:04:44 +01:00
parent 4bbf8858b0
commit d623cd5ce0
1 changed files with 1 additions and 1 deletions

View File

@ -423,8 +423,8 @@ commands.add_command("ap-get-technology", "Grant a technology, used by the Archi
game.print({"", "Received [technology=" .. tech.name .. "] as it is already checked."})
game.play_sound({path="utility/research_completed"})
tech.researched = true
return
end
return
elseif progressive_technologies[item_name] ~= nil then
if global.index_sync[index] == nil then -- not yet received prog item
global.index_sync[index] = item_name