mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:29:26 +08:00
Fix: Sorting retirement by emotion but it's never scanned
This commit is contained in:
@@ -309,8 +309,8 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
|
||||
if len(ships) < 2:
|
||||
break
|
||||
else:
|
||||
# Try to keep the one with the highest emotion
|
||||
ships.sort(key=lambda ship: ship.emotion)
|
||||
# Try to keep the one with the lowest level
|
||||
ships.sort(key=lambda ship: -ship.level)
|
||||
ships = ships[:-1]
|
||||
|
||||
for ship in ships[:10]:
|
||||
|
||||
Reference in New Issue
Block a user