mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: confirm_timer in transport_receive
This commit is contained in:
parent
e91833ac9a
commit
1f92bcad47
@ -309,12 +309,12 @@ class IslandTransportRun(IslandUI):
|
|||||||
if self.island_in_transport():
|
if self.island_in_transport():
|
||||||
if success and confirm_timer.reached():
|
if success and confirm_timer.reached():
|
||||||
break
|
break
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
|
|
||||||
# handle island level up
|
# handle island level up
|
||||||
if click_timer.reached():
|
if click_timer.reached():
|
||||||
|
success = True
|
||||||
self.device.click(GET_ITEMS_ISLAND)
|
self.device.click(GET_ITEMS_ISLAND)
|
||||||
self.device.sleep(0.3)
|
self.device.sleep(0.3)
|
||||||
click_timer.reset()
|
click_timer.reset()
|
||||||
@ -353,7 +353,6 @@ class IslandTransportRun(IslandUI):
|
|||||||
if self.island_in_transport():
|
if self.island_in_transport():
|
||||||
if success and confirm_timer.reached():
|
if success and confirm_timer.reached():
|
||||||
break
|
break
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
return success
|
return success
|
||||||
@ -396,7 +395,6 @@ class IslandTransportRun(IslandUI):
|
|||||||
if self.island_in_transport():
|
if self.island_in_transport():
|
||||||
if success and confirm_timer.reached():
|
if success and confirm_timer.reached():
|
||||||
break
|
break
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
return success
|
return success
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user