mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Close weekly reward popup in _rogue_theme_set()
This commit is contained in:
parent
7ef7b05591
commit
edb55c6f64
@ -164,6 +164,11 @@ class RogueEntry(RouteBase, RogueRewardHandler, RoguePathHandler, DungeonUI):
|
||||
if interval.reached() and self.is_page_rogue_main():
|
||||
self.device.click(THEME_SWITCH)
|
||||
interval.reset()
|
||||
# Weekly refresh popup
|
||||
if self.appear_then_click(REWARD_CLOSE, interval=2):
|
||||
continue
|
||||
if self.handle_reward():
|
||||
continue
|
||||
|
||||
def _rogue_world_set(self, world: int | DungeonList, skip_first_screenshot=True):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user