Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skip_calculate flag to RouteManager.start_routemanager #1343

Open
wants to merge 1 commit into
base: async
Choose a base branch
from

Conversation

MonsterMap
Copy link
Contributor

Allows us to skip calculating the initial route when starting, so that calculation can be started separately (fixes #1289)

Currently start_routemanager() will always get a new route, which for quests will fail if all stops have been finished. As we're going to start calculation ourselves, we can skip the initial route.

This has been tested with quests, spawns, and raids by clearing the existing route and starting a recalc.

Allows us to skip calculating the initial route when starting,
so that calculation can be started separately (fixes Map-A-Droid#1289)
@Grennith
Copy link
Collaborator

What about routes missing in case of mon_mitm scanning for example and not intending to manually trigger the calulcation of a route?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recalc Route for a quest area (on async) needs an update to look at all stops
2 participants