Skip to content

Commit

Permalink
Fix upwell ship race detection
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Jun 8, 2024
1 parent 2f57eb6 commit 28ebcd2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions eos/gamedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,19 +343,16 @@ def requiredFor(self):
500018: "mordu",
500019: "sansha",
500020: "serpentis",
500026: "triglavian"
500026: "triglavian",
500027: "upwell",
}

@property
def race(self):
if self.__race is None:

try:
if (
self.category.name == 'Structure' or
# Here until CCP puts their shit together
self.name in ("Thunderchild", "Stormbringer", "Skybreaker")
):
if self.category.name == 'Structure':
self.__race = "upwell"
else:
self.__race = self.factionMap[self.factionID]
Expand Down

0 comments on commit 28ebcd2

Please sign in to comment.