Fix issue with syncing tech tree post-forfeit.
This commit is contained in:
		
							parent
							
								
									21255b3b46
								
							
						
					
					
						commit
						5bb8de500a
					
				| 
						 | 
					@ -110,7 +110,7 @@ class FactorioContext(CommonContext):
 | 
				
			||||||
        if cmd == "Connected":
 | 
					        if cmd == "Connected":
 | 
				
			||||||
            # catch up sync anything that is already cleared.
 | 
					            # catch up sync anything that is already cleared.
 | 
				
			||||||
            if args["checked_locations"]:
 | 
					            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"]})
 | 
					                                                item_name in args["checked_locations"]})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue