From 1697753f31aefe936e8d35b10225ddf220a027fd Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Thu, 27 Jun 2024 02:27:53 +0800 Subject: [PATCH] Fix: Handle forcely redirected to unfinished world (#549) --- tasks/rogue/entry/entry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/rogue/entry/entry.py b/tasks/rogue/entry/entry.py index 225510b49..93a9e14f4 100644 --- a/tasks/rogue/entry/entry.py +++ b/tasks/rogue/entry/entry.py @@ -202,6 +202,9 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonRogueUI if self.handle_ui_close(LEVEL_CONFIRM, interval=2): interval.clear() continue + if self.handle_ui_close(ROGUE_LAUNCH, interval=2): + interval.clear() + continue if self.is_page_rogue_main() \ and self.image_color_count(OCR_WORLD, color=(255, 255, 255), threshold=221, count=50):