Force command processors not to show (#1562)

This commit is contained in:
blitzmann
2018-05-21 23:15:41 -04:00
parent f9e60a00f2
commit 2f9d2e2a60
2 changed files with 2 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ class MarketTree(wx.TreeCtrl):
# And add real market group contents
sMkt = self.sMkt
currentMktGrp = sMkt.getMarketGroup(self.GetItemData(root), eager="children")
for childMktGrp in sMkt.getMarketGroupChildren(currentMktGrp):
# If market should have items but it doesn't, do not show it
if sMkt.marketGroupValidityCheck(childMktGrp) is False:

View File

@@ -318,6 +318,7 @@ class Market(object):
self.FORCEDMARKETGROUP = {
685: False, # Ship Equipment > Electronic Warfare > ECCM
681: False, # Ship Equipment > Electronic Warfare > Sensor Backup Arrays
1639: False # Ship Equipment > Fleet Assistance > Command Processors
}
# Misc definitions