Update mission.py

This commit is contained in:
Richard Bronkhorst 2023-06-18 20:21:08 +02:00
parent 9369c6982f
commit f849f871d2

View File

@ -188,7 +188,7 @@ class MiningMission(Mission):
def step_sell(self, except_resource=True):
target = self.st('resource')
market = self.store.get('Marketplace', self.ship.location())
market = self.store.get('Marketplace', self.ship.location_str)
sellables = market.sellable_items(self.ship.cargo.keys())
if target in sellables and except_resource:
sellables.remove(target)