change NavBot priority and clear nav parser priority on clear

This commit is contained in:
LightCat 2018-10-28 12:23:16 +01:00
parent d512ee7562
commit 3f4cd3e1e7
2 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void Init(bool from_LevelInit)
}
static HookedFunction
CreateMove(HookedFunctions_types::HF_CreateMove, "NavBot", 10, []() {
CreateMove(HookedFunctions_types::HF_CreateMove, "NavBot", 18, []() {
// Master Switch
if (!*enable)

View File

@ -614,6 +614,7 @@ static CatCommand nav_reset_ignores("nav_reset_ignores", "Reset all ignores.",
void clearInstructions()
{
crumbs.clear();
curr_priority = 0;
}
} // namespace nav