summaryrefslogtreecommitdiff
path: root/server/src/interaction.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-04 20:58:42 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-04 20:58:42 +0200
commit55922742c94d8abca2361377ca616ea5143731c2 (patch)
tree7ef44dc486b11b7105c4cd6942bf46e5dcd51c8b /server/src/interaction.rs
parent1f839542dde14c15a0fc772fd31432a3649d3c50 (diff)
downloadhurrycurry-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.rs2
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;
}