Fetching all attributes was a way too costy
We needed them only for race detection (which often requires to fetch required skills), now pyfa animation should be more responsive
This commit is contained in:
@@ -580,7 +580,7 @@ class Market():
|
||||
|
||||
def getShipList(self, grpid):
|
||||
"""Get ships for given group id"""
|
||||
grp = self.getGroup(grpid, eager = ("items", "items.group", "items.attributes"))
|
||||
grp = self.getGroup(grpid, eager=("items", "items.group", "items.marketGroup"))
|
||||
ships = self.getItemsByGroup(grp)
|
||||
for ship in ships:
|
||||
ship.race
|
||||
|
||||
Reference in New Issue
Block a user