Factorio: fix coop sync printing desync detected
This commit is contained in:
parent
4bbf8858b0
commit
d623cd5ce0
|
@ -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.print({"", "Received [technology=" .. tech.name .. "] as it is already checked."})
|
||||||
game.play_sound({path="utility/research_completed"})
|
game.play_sound({path="utility/research_completed"})
|
||||||
tech.researched = true
|
tech.researched = true
|
||||||
return
|
|
||||||
end
|
end
|
||||||
|
return
|
||||||
elseif progressive_technologies[item_name] ~= nil then
|
elseif progressive_technologies[item_name] ~= nil then
|
||||||
if global.index_sync[index] == nil then -- not yet received prog item
|
if global.index_sync[index] == nil then -- not yet received prog item
|
||||||
global.index_sync[index] = item_name
|
global.index_sync[index] = item_name
|
||||||
|
|
Loading…
Reference in New Issue