aboutsummaryrefslogtreecommitdiff
path: root/server/src/interaction.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-30 02:08:54 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-30 02:08:54 +0200
commitd2c793ec7632a5da8065fd52436cfd676cc96a7b (patch)
tree3868f0f858bc9766925723b6479315bacde4b040 /server/src/interaction.rs
parent5033c326094edc1ff4234b994e95d987cb937fc4 (diff)
downloadhurrycurry-d2c793ec7632a5da8065fd52436cfd676cc96a7b.tar
hurrycurry-d2c793ec7632a5da8065fd52436cfd676cc96a7b.tar.bz2
hurrycurry-d2c793ec7632a5da8065fd52436cfd676cc96a7b.tar.zst
Tile placeable items client side and interactable empty special case
Diffstat (limited to 'server/src/interaction.rs')
-rw-r--r--server/src/interaction.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/src/interaction.rs b/server/src/interaction.rs
index 8f591db1..5a8372ee 100644
--- a/server/src/interaction.rs
+++ b/server/src/interaction.rs
@@ -35,10 +35,7 @@ pub fn interact(
automated: bool,
packet_out: &mut VecDeque<PacketC>,
) {
- // let interactable = automated
- // || tile
- // .map(|tile| data.is_tile_interactable(tile))
- // .unwrap_or(true);
+ let _ = automated; //? what was this used for??
if other.is_none() {
if let Some(item) = this {
if let Some(active) = &mut item.active {