Fix upwell ships' race

This commit is contained in:
DarkPhoenix
2020-06-15 16:14:20 +03:00
parent 4c55d32086
commit ca8822c455
2 changed files with 6 additions and 2 deletions

View File

@@ -343,7 +343,11 @@ class Item(EqBase):
if self.__race is None: if self.__race is None:
try: try:
if self.category.categoryName == 'Structure': if (
self.category.categoryName == 'Structure' or
# Here until CCP puts their shit together
self.name in ("Thunderchild", "Stormbringer", "Skybreaker")
):
self.__race = "upwell" self.__race = "upwell"
else: else:
self.__race = self.factionMap[self.factionID] self.__race = self.factionMap[self.factionID]

View File

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