Fix: Handle forcely redirected to unfinished world (#549)

This commit is contained in:
LmeSzinc 2024-06-27 02:27:53 +08:00
parent d91b9c5d48
commit 1697753f31

View File

@ -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):