Update api.py, commander.py and one other file
This commit is contained in:
@@ -163,7 +163,7 @@ class BaseMission(Mission):
|
||||
|
||||
def step_sell(self, except_resource=True):
|
||||
target = self.st('resource')
|
||||
market = self.store.get('Marketplace', self.ship.location_str)
|
||||
market = self.store.get('Marketplace', self.ship.location.symbol)
|
||||
sellables = market.sellable_items(self.ship.cargo.keys())
|
||||
if target in sellables and except_resource:
|
||||
sellables.remove(target)
|
||||
|
||||
Reference in New Issue
Block a user