mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: fix coop sync printing desync detected
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user