aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-13 17:08:51 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-13 17:08:51 +0200
commit3f3c38326128518c653f1b731c28d028c2a45c40 (patch)
treee1aad4a5cfa361e4ac723955718b414e6564ca04
parent3de710172b186fc4139f70c1756ae6fe9972e7f1 (diff)
downloadhurrycurry-3f3c38326128518c653f1b731c28d028c2a45c40.tar
hurrycurry-3f3c38326128518c653f1b731c28d028c2a45c40.tar.bz2
hurrycurry-3f3c38326128518c653f1b731c28d028c2a45c40.tar.zst
slow down customers
-rw-r--r--server/bot/src/algos/customer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bot/src/algos/customer.rs b/server/bot/src/algos/customer.rs
index 0fc7a42b..556f5ce5 100644
--- a/server/bot/src/algos/customer.rs
+++ b/server/bot/src/algos/customer.rs
@@ -108,7 +108,7 @@ impl BotAlgo for Customer {
}
} else {
BotInput {
- direction: path.next_direction(pos),
+ direction: path.next_direction(pos) * 0.5,
..Default::default()
}
}
@@ -260,7 +260,7 @@ impl BotAlgo for Customer {
}
} else {
BotInput {
- direction: path.next_direction(pos),
+ direction: path.next_direction(pos) * 0.5,
..Default::default()
}
}