From 4598dd1a0fda09a27f69e077326744a66a530726 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 7 Aug 2021 02:57:47 +0200 Subject: [PATCH] Factorio: syntax~ --- worlds/factorio/data/mod_template/control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/factorio/data/mod_template/control.lua b/worlds/factorio/data/mod_template/control.lua index 80d344e0..18f19497 100644 --- a/worlds/factorio/data/mod_template/control.lua +++ b/worlds/factorio/data/mod_template/control.lua @@ -376,12 +376,12 @@ commands.add_command("ap-get-technology", "Grant a technology, used by the Archi if index == -1 then -- for coop sync and restoring from an older savegame tech = force.technologies[item_name] if tech.researched ~= true then - 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"}) tech.researched = true return end - elif 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 global.index_sync[index] = item_name local tech_stack = progressive_technologies[item_name]