add 'core:pathfinding' component

This commit is contained in:
MihailRis
2025-08-03 19:06:22 +03:00
parent e2d0fa830d
commit a110022ec2
3 changed files with 45 additions and 3 deletions
+1
View File
@@ -181,6 +181,7 @@ Route Pathfinding::perform(Agent& agent, int maxVisited) {
}
}
}
state.finished = true;
agent.state = std::move(state);
return {};
}