mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Change simple click to ui_click to account for instances
of lag
This commit is contained in:
parent
eef2aef86f
commit
51be61b373
@ -3,6 +3,7 @@ from module.base.decorator import cached_property
|
||||
from module.base.timer import Timer
|
||||
from module.base.utils import *
|
||||
from module.combat.assets import GET_ITEMS_1
|
||||
from module.handler.assets import POPUP_CONFIRM
|
||||
from module.guild.assets import *
|
||||
from module.guild.base import GuildBase
|
||||
from module.logger import logger
|
||||
@ -249,7 +250,8 @@ class GuildLogistics(GuildBase):
|
||||
|
||||
# Start the exchange process, not inserted
|
||||
# into while to avoid potential multi-clicking
|
||||
self.device.click(target_button)
|
||||
self.ui_click(target_button, check_button=POPUP_CONFIRM,
|
||||
appear_button=btn_guild_logistics_check, skip_first_screenshot=True)
|
||||
|
||||
confirm_timer = Timer(1.5, count=3).start()
|
||||
while 1:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user