From 62d918e5feeaf5b3add982a5baaffb201a1f2ece Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 19 Oct 2025 00:38:09 +0200 Subject: Implement interaction with other players through id instead of tile pos --- server/editor/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/editor') diff --git a/server/editor/src/main.rs b/server/editor/src/main.rs index dc9c6735..be0fcbc5 100644 --- a/server/editor/src/main.rs +++ b/server/editor/src/main.rs @@ -305,7 +305,7 @@ impl State { } PacketS::Interact { hand: Hand(1), - pos: Some(_), + target: Some(_), .. } => { self.tile.0 += 1; @@ -317,7 +317,7 @@ impl State { } PacketS::Interact { hand: Hand(0), - pos: Some(_), + target: Some(_), .. } => { let bpos = self.movement.position.floor().as_ivec2(); -- cgit v1.3