aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-17 14:54:34 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-17 14:54:34 +0200
commit37e880cb7fc4270426114ce2f1eee48470dd348a (patch)
tree078b70c0fe0c7942e7110f87b5092eb91f68499f /server
parentb20b78e57c1628c4a94a7886ef5076b8ce6ade64 (diff)
downloadhurrycurry-37e880cb7fc4270426114ce2f1eee48470dd348a.tar
hurrycurry-37e880cb7fc4270426114ce2f1eee48470dd348a.tar.bz2
hurrycurry-37e880cb7fc4270426114ce2f1eee48470dd348a.tar.zst
Fix waiter bot not accepting orders; close #386
Diffstat (limited to 'server')
-rw-r--r--server/bot/src/algos/simple.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/bot/src/algos/simple.rs b/server/bot/src/algos/simple.rs
index 14108a0c..06bf76ab 100644
--- a/server/bot/src/algos/simple.rs
+++ b/server/bot/src/algos/simple.rs
@@ -145,9 +145,6 @@ impl<S> Context<'_, S> {
.iter()
.filter_map(|(_, pl)| match &pl.communicate_persist {
Some((Message::Item(item), _)) => {
- if self.game.data.item_name(*item) == "unknown-order" {
- return None;
- }
let pos = pl.movement.position.as_ivec2();
[IVec2::X, IVec2::Y, -IVec2::X, -IVec2::Y]
.into_iter()