Give citadels their own Upwell logo

This commit is contained in:
blitzman
2016-08-24 21:46:14 -04:00
parent 639f3d27b4
commit fd91f56e55
3 changed files with 6 additions and 2 deletions

View File

@@ -288,8 +288,12 @@ class Item(EqBase):
@property
def race(self):
if self.__race is None:
try:
self.__race = self.factionMap[self.factionID]
if self.category.categoryName == 'Structure':
self.__race = "upwell"
else:
self.__race = self.factionMap[self.factionID]
# Some ships (like few limited issue ships) do not have factionID set,
# thus keep old mechanism for now
except KeyError:

View File

@@ -704,7 +704,7 @@ class ShipBrowser(wx.Panel):
"amarr", "caldari", "gallente", "minmatar",
"sisters", "ore",
"serpentis", "angel", "blood", "sansha", "guristas", "mordu",
"jove", None
"jove", "upwell", None
]
def raceNameKey(self, ship):

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B