aboutsummaryrefslogtreecommitdiff
path: root/server/bot/src/algos
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-30 11:33:03 +0100
committermetamuffin <metamuffin@disroot.org>2025-10-30 11:33:03 +0100
commitaee4e6229b6a796691ba7a5bfff4e2b76700662a (patch)
tree3e4b76e2d07936c2e39f227edd92a8a986b814e8 /server/bot/src/algos
parenta85f6200517405918941cc64ba4b734e246bc411 (diff)
downloadhurrycurry-aee4e6229b6a796691ba7a5bfff4e2b76700662a.tar
hurrycurry-aee4e6229b6a796691ba7a5bfff4e2b76700662a.tar.bz2
hurrycurry-aee4e6229b6a796691ba7a5bfff4e2b76700662a.tar.zst
clippy
Diffstat (limited to 'server/bot/src/algos')
-rw-r--r--server/bot/src/algos/frank.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/bot/src/algos/frank.rs b/server/bot/src/algos/frank.rs
index a02b0112..8bd6d17b 100644
--- a/server/bot/src/algos/frank.rs
+++ b/server/bot/src/algos/frank.rs
@@ -92,7 +92,6 @@ impl BotAlgo for Frank {
timeout: Some(3.),
pin: Some(false),
});
- return;
}
} else {
out.push(PacketS::Movement {
@@ -101,7 +100,6 @@ impl BotAlgo for Frank {
boost: false,
pos: None,
});
- return;
}
} else if let Some(path) =
find_path_to_neighbour(game, pos.as_ivec2(), tpos.as_ivec2())