mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-06-21 20:23:54 +08:00
Force collect data key when data key is full to eliminate red dots
This commit is contained in:
@@ -60,7 +60,7 @@ class RewardDataKey(UI):
|
||||
|
||||
current, remain, total = DATA_KEY.ocr(self.device.image)
|
||||
logger.info(f'Inventory: {current} / {total}, Remain: {remain}')
|
||||
if remain <= 0:
|
||||
if not self.config.DataKey_ForceGet and remain <= 0 :
|
||||
logger.info('No more room for additional data key')
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user