Merge branch 'master' into market_metagroups

This commit is contained in:
DarkPhoenix
2019-03-22 02:02:17 +03:00
2 changed files with 5 additions and 2 deletions

View File

@@ -110,6 +110,9 @@ class BoosterView(d.Display):
self.origional = fit.boosters if fit is not None else None
self.boosters = stuff = fit.boosters[:] if fit is not None else None
if stuff is not None:
stuff.sort(key=lambda booster: booster.slot or 0)
if event.fitID != self.lastFitId:
self.lastFitId = event.fitID