mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Opt: Faster path entry retries
This commit is contained in:
parent
f7f61549c1
commit
416e09dedc
@ -122,9 +122,9 @@ class RoguePathHandler(RogueUI):
|
||||
if self.handle_popup_confirm():
|
||||
continue
|
||||
# Select path
|
||||
if self.interval_is_reached(entry) and self._is_page_rogue_path():
|
||||
if self.interval_is_reached(entry, interval=2) and self._is_page_rogue_path():
|
||||
if self.appear_then_click(entry):
|
||||
self.interval_reset(entry)
|
||||
self.interval_reset(entry, interval=2)
|
||||
# Confirm path
|
||||
if self.appear(CONFIRM_PATH, interval=2):
|
||||
if self._get_selected_path() == path:
|
||||
|
Loading…
Reference in New Issue
Block a user