mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +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)
|
self.battle_pass_mission_tab_goto(page)
|
||||||
if not has_scroll:
|
if not has_scroll:
|
||||||
results = self.ocr_single_page()
|
results = self.ocr_single_page()
|
||||||
|
results = [result.matched_keyword for result in results]
|
||||||
else:
|
else:
|
||||||
scroll = Scroll(MISSION_PAGE_SCROLL, color=(198, 198, 198))
|
scroll = Scroll(MISSION_PAGE_SCROLL, color=(198, 198, 198))
|
||||||
scroll.set_top(main=self)
|
scroll.set_top(main=self)
|
||||||
|
Loading…
Reference in New Issue
Block a user