From 5bb8de500a5f51eb2ce276d9635802f3b4adfca7 Mon Sep 17 00:00:00 2001
From: CaitSith2 <d_good@caitsith2.com>
Date: Fri, 27 Aug 2021 10:41:29 -0700
Subject: [PATCH] Fix issue with syncing tech tree post-forfeit.

---
 FactorioClient.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/FactorioClient.py b/FactorioClient.py
index 25c0b49e..7dd99915 100644
--- a/FactorioClient.py
+++ b/FactorioClient.py
@@ -110,7 +110,7 @@ class FactorioContext(CommonContext):
         if cmd == "Connected":
             # catch up sync anything that is already cleared.
             if args["checked_locations"]:
-                self.rcon_client.send_commands({item_name: f'/ap-get-technology {item_name}\t-1' for
+                self.rcon_client.send_commands({item_name: f'/ap-get-technology ap-{item_name}-\t-1' for
                                                 item_name in args["checked_locations"]})