mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Fix: battle_pass_quests_recognition() returns OcrResultButton
This commit is contained in:
parent
9aaadc4136
commit
320e9395d1
@ -282,6 +282,7 @@ class BattlePassUI(UI):
|
||||
self.battle_pass_mission_tab_goto(page)
|
||||
if not has_scroll:
|
||||
results = self.ocr_single_page()
|
||||
results = [result.matched_keyword for result in results]
|
||||
else:
|
||||
scroll = Scroll(MISSION_PAGE_SCROLL, color=(198, 198, 198))
|
||||
scroll.set_top(main=self)
|
||||
|
Loading…
Reference in New Issue
Block a user