diff --git a/worlds/factorio/data/mod_template/control.lua b/worlds/factorio/data/mod_template/control.lua index 060fe56431..3146e8042d 100644 --- a/worlds/factorio/data/mod_template/control.lua +++ b/worlds/factorio/data/mod_template/control.lua @@ -777,7 +777,7 @@ commands.add_command("ap-get-technology", "Grant a technology, used by the Archi if index == nil then game.print("ap-get-technology is only to be used by the Archipelago Factorio Client") return - elseif index == -1 then -- for coop sync and restoring from an older savegame + elseif index == "-1" then -- for coop sync and restoring from an older savegame tech = force.technologies[item_name] if tech.researched ~= true then game.print({"archipelago.receive-ap-catchup", "[technology=" .. tech.name .. "]"})