Update mission.py
This commit is contained in:
parent
9369c6982f
commit
f849f871d2
@ -188,7 +188,7 @@ class MiningMission(Mission):
|
|||||||
|
|
||||||
def step_sell(self, except_resource=True):
|
def step_sell(self, except_resource=True):
|
||||||
target = self.st('resource')
|
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())
|
sellables = market.sellable_items(self.ship.cargo.keys())
|
||||||
if target in sellables and except_resource:
|
if target in sellables and except_resource:
|
||||||
sellables.remove(target)
|
sellables.remove(target)
|
||||||
|
Loading…
Reference in New Issue
Block a user