diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-30 11:33:03 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-30 11:33:03 +0100 |
| commit | aee4e6229b6a796691ba7a5bfff4e2b76700662a (patch) | |
| tree | 3e4b76e2d07936c2e39f227edd92a8a986b814e8 /server/bot/src/algos | |
| parent | a85f6200517405918941cc64ba4b734e246bc411 (diff) | |
| download | hurrycurry-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.rs | 2 |
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()) |