aboutsummaryrefslogtreecommitdiff
path: root/server/src/customer/pathfinding.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/customer/pathfinding.rs')
-rw-r--r--server/src/customer/pathfinding.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/customer/pathfinding.rs b/server/src/customer/pathfinding.rs
index 29ee4e00..2fe938a9 100644
--- a/server/src/customer/pathfinding.rs
+++ b/server/src/customer/pathfinding.rs
@@ -20,7 +20,7 @@ use hurrycurry_protocol::{
glam::{IVec2, Vec2},
PacketS,
};
-use log::debug;
+use log::trace;
use std::{
cmp::Ordering,
collections::{BinaryHeap, HashMap, HashSet},
@@ -36,7 +36,7 @@ impl Path {
dt: f32,
) -> PacketS {
if let Some(next) = self.0.last().copied() {
- debug!("next {next}");
+ trace!("next {next}");
if next.distance(player.position) < if self.0.len() == 1 { 0.1 } else { 0.6 } {
self.0.pop();
}