We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35113bf commit 24e2f17Copy full SHA for 24e2f17
openage/convert/processor/conversion/aoc/processor.py
@@ -1361,10 +1361,10 @@ def link_trade_posts(full_data_set: GenieObjectContainer) -> None:
1361
continue
1362
1363
trade_post_id = command["unit_id"].value
1364
- break
1365
1366
- # Notify buiding
1367
- full_data_set.building_lines[trade_post_id].add_trading_line(unit_line)
+ # Notify buiding
+ if trade_post_id in full_data_set.building_lines.keys():
+ full_data_set.building_lines[trade_post_id].add_trading_line(unit_line)
1368
1369
@staticmethod
1370
def link_repairables(full_data_set: GenieObjectContainer) -> None:
0 commit comments