mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
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:
@@ -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})
|
||||||
|
Reference in New Issue
Block a user