diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-04 20:58:42 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-04 20:58:42 +0200 |
commit | 55922742c94d8abca2361377ca616ea5143731c2 (patch) | |
tree | 7ef44dc486b11b7105c4cd6942bf46e5dcd51c8b /server/src/interaction.rs | |
parent | 1f839542dde14c15a0fc772fd31432a3649d3c50 (diff) | |
download | hurrycurry-55922742c94d8abca2361377ca616ea5143731c2.tar hurrycurry-55922742c94d8abca2361377ca616ea5143731c2.tar.bz2 hurrycurry-55922742c94d8abca2361377ca616ea5143731c2.tar.zst |
fix not resuming passive recipes
Diffstat (limited to 'server/src/interaction.rs')
-rw-r--r-- | server/src/interaction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/interaction.rs b/server/src/interaction.rs index dd001ed6..4b8fbda5 100644 --- a/server/src/interaction.rs +++ b/server/src/interaction.rs @@ -217,7 +217,7 @@ pub fn tick_slot( let prev_speed = a.speed; if r.supports_tile(tile) { - if a.speed < 0. { + if a.speed <= 0. { if let Recipe::Passive { speed, .. } = &data.recipe(a.recipe) { a.speed = *speed; } |