Skip to content

Commit

Permalink
Update generic_behaviour.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ctri-The-Third committed Jan 26, 2024
1 parent 77a1b78 commit 5203e2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions behaviours/generic_behaviour.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ def fulfil_any_relevant(self, excpetions: list = []):

if self.ship.nav.status != "DOCKED":
self.st.ship_dock(self.ship)
matching_items = None
for cargo in self.ship.cargo_inventory:
matching_items = [item for item in items if item.symbol == cargo.symbol]
if not matching_items:
Expand Down

0 comments on commit 5203e2c

Please sign in to comment.