Set Victor and Virtuso to not published, and fix bug which allowed user fits to return in search even if ship isn't published (#1310)
This commit is contained in:
@@ -378,6 +378,10 @@ class ShipBrowser(wx.Panel):
|
||||
|
||||
for ID, name, shipID, shipName, booster, timestamp, notes in fitList:
|
||||
ship = sMkt.getItem(shipID)
|
||||
|
||||
if not sMkt.getPublicityByItem(ship):
|
||||
continue
|
||||
|
||||
shipTrait = ship.traits.traitText if (ship.traits is not None) else "" # empty string if no traits
|
||||
|
||||
self.lpane.AddWidget(FitItem(self.lpane, ID, (shipName, shipTrait, name, booster, timestamp, notes), shipID))
|
||||
|
||||
Reference in New Issue
Block a user