aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-19 23:16:14 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-19 23:21:31 +0200
commitcaa0e7cc27bfab46a6df20622f40b7f1eef7c971 (patch)
tree69df9bf9c18cbf4ca6c0a5381ba5c6b41815eb74 /server/src/entity
parent2a96b7c3e686fc9ebb8fd071c4856bef90d4e242 (diff)
downloadhurrycurry-caa0e7cc27bfab46a6df20622f40b7f1eef7c971.tar
hurrycurry-caa0e7cc27bfab46a6df20622f40b7f1eef7c971.tar.bz2
hurrycurry-caa0e7cc27bfab46a6df20622f40b7f1eef7c971.tar.zst
dont aquire passive input for hand
Diffstat (limited to 'server/src/entity')
-rw-r--r--server/src/entity/tutorial.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/entity/tutorial.rs b/server/src/entity/tutorial.rs
index b61827c1..68503471 100644
--- a/server/src/entity/tutorial.rs
+++ b/server/src/entity/tutorial.rs
@@ -257,8 +257,8 @@ impl<'a> StepContext<'a> {
Recipe::Passive {
tile: None, input, ..
} => {
- self.aquire_item(*input)?;
- return Err((None, trm!("s.tutorial.wait_finish")));
+ let pos = self.aquire_placed_item(*input)?;
+ return Err((Some(pos), trm!("s.tutorial.wait_finish")));
}
_ => warn!("recipe too hard {r:?}"),
}