Factorio: remove Desync detected message.
To my knowledge it has never warned about an actual desync, and even it did, the code right behind it fixes the desync.
This commit is contained in:
parent
c381df6563
commit
a3951c2621
|
@ -458,9 +458,6 @@ commands.add_command("ap-get-technology", "Grant a technology, used by the Archi
|
||||||
elseif force.technologies[item_name] ~= nil then
|
elseif force.technologies[item_name] ~= nil then
|
||||||
tech = force.technologies[item_name]
|
tech = force.technologies[item_name]
|
||||||
if tech ~= nil then
|
if tech ~= nil then
|
||||||
if global.index_sync[index] ~= nil and global.index_sync[index] ~= tech then
|
|
||||||
game.print("Warning: Desync Detected. Duplicate/Missing items may occur.")
|
|
||||||
end
|
|
||||||
global.index_sync[index] = tech
|
global.index_sync[index] = tech
|
||||||
if tech.researched ~= true then
|
if tech.researched ~= true then
|
||||||
game.print({"", "Received [technology=" .. tech.name .. "] from ", source})
|
game.print({"", "Received [technology=" .. tech.name .. "] from ", source})
|
||||||
|
|
Loading…
Reference in New Issue