mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +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