1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00

[Fix]: quit when no recorded equipment was found

This commit is contained in:
Cyunmi
2021-08-16 00:52:13 +08:00
parent 0aff9f55ca
commit aae891ee33
2 changed files with 2 additions and 0 deletions

View File

@@ -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