Factorio: Fixed a needlessly small bug that does not affect gameplay (#6147)

This commit is contained in:
CosmicWolf
2026-06-03 17:53:37 +02:00
committed by GitHub
parent 2a8ebe2399
commit 09aba95c03
@@ -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 .. "]"})