aboutsummaryrefslogtreecommitdiff
path: root/server/bot/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-16 20:26:42 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-16 20:26:42 +0200
commitef010d6317dcbf9df84c909bab72c64a6eabacb2 (patch)
treeaa48301ac95abe7a233e1d7174d9f9f80be37829 /server/bot/src
parente95418c3e146a0a0ea82b7a99b642745c29bba5a (diff)
downloadhurrycurry-ef010d6317dcbf9df84c909bab72c64a6eabacb2.tar
hurrycurry-ef010d6317dcbf9df84c909bab72c64a6eabacb2.tar.bz2
hurrycurry-ef010d6317dcbf9df84c909bab72c64a6eabacb2.tar.zst
Send _list of_ players in progress reports
Diffstat (limited to 'server/bot/src')
-rw-r--r--server/bot/src/pathfinding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/bot/src/pathfinding.rs b/server/bot/src/pathfinding.rs
index 41bc79c7..f4cf36d4 100644
--- a/server/bot/src/pathfinding.rs
+++ b/server/bot/src/pathfinding.rs
@@ -46,7 +46,7 @@ impl Path {
self.segments.is_empty()
}
pub fn is_stuck(&self) -> bool {
- self.seg_time > 5.
+ self.seg_time > 3.
}
pub fn remaining_segments(&self) -> usize {
self.segments.len()