mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-06-14 22:00:01 +08:00
Merge pull request #575 from Cyumxi/master
[Fix]: quit when no recorded equipment was found
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user