1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 23:33:33 +08:00

fix: handle when shop amount is 0

This commit is contained in:
霞飛
2025-05-14 02:54:59 +08:00
parent d07157eadf
commit 7ee0460e68
2 changed files with 36 additions and 26 deletions

View File

@@ -83,8 +83,8 @@ class OSShopItem(Item):
super().__init__(*args, **kwargs)
self._shop_index = None
self._scroll_pos = None
self.total_count = 1
self.count = 1
self.total_count = -1
self.count = -1
@property
def shop_index(self):