mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Fix: Handle forcely redirected to unfinished world (#549)
This commit is contained in:
parent
d91b9c5d48
commit
1697753f31
@ -202,6 +202,9 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonRogueUI
|
|||||||
if self.handle_ui_close(LEVEL_CONFIRM, interval=2):
|
if self.handle_ui_close(LEVEL_CONFIRM, interval=2):
|
||||||
interval.clear()
|
interval.clear()
|
||||||
continue
|
continue
|
||||||
|
if self.handle_ui_close(ROGUE_LAUNCH, interval=2):
|
||||||
|
interval.clear()
|
||||||
|
continue
|
||||||
|
|
||||||
if self.is_page_rogue_main() \
|
if self.is_page_rogue_main() \
|
||||||
and self.image_color_count(OCR_WORLD, color=(255, 255, 255), threshold=221, count=50):
|
and self.image_color_count(OCR_WORLD, color=(255, 255, 255), threshold=221, count=50):
|
||||||
|
Loading…
Reference in New Issue
Block a user