mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-15 19:30:47 +08:00
[Fix]: quit when no recorded equipment was found
This commit is contained in:
parent
0aff9f55ca
commit
aae891ee33
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 24 KiB |
@ -165,6 +165,8 @@ class EquipmentChange(Equipment):
|
||||
break
|
||||
if self.appear(EQUIPMENT_SCROLL_BOTTOM):
|
||||
logger.warning('No recorded equipment was found.')
|
||||
self.ui_back(check_button=globals()[
|
||||
f'EQUIP_TAKE_ON_{index}'], appear_button=EQUIPPING_OFF)
|
||||
break
|
||||
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user