mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Sorting retirement by emotion but it's never scanned
This commit is contained in:
parent
8e82984775
commit
76cfd36479
@ -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]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user