mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
b681ad79ce
We had a random chance of restarting the route to avoid getting the chaser stuck. This didn't work properly because the rerouting code was only triggered if `self.route.is_none()` or if the target moved significantly, and the random chance branch only set `bearing` to `None`. This change sets `self.route = None` to trigger rerouting. |
||
---|---|---|
.. | ||
assets | ||
base | ||
benches | ||
ecs | ||
frontend | ||
net | ||
src | ||
state | ||
systems | ||
build.rs | ||
Cargo.toml |