mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +00:00
Opt: Update screenshot before finding routes
This commit is contained in:
parent
e3eae4847a
commit
37575e6129
@ -235,7 +235,8 @@ class RouteLoader(RogueUI, MinimapWrapper, RouteLoader_, CharacterSwitch):
|
|||||||
out: page_main, at another domain
|
out: page_main, at another domain
|
||||||
or page_rogue if rogue cleared
|
or page_rogue if rogue cleared
|
||||||
"""
|
"""
|
||||||
route = self.position_find()
|
# To have a newer image, since previous loadings took some time
|
||||||
|
route = self.position_find(skip_first_screenshot=False)
|
||||||
super().route_run(route)
|
super().route_run(route)
|
||||||
|
|
||||||
def rogue_run(self, skip_first_screenshot=True):
|
def rogue_run(self, skip_first_screenshot=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user