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/client-lib/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/client-lib') diff --git a/server/client-lib/src/lib.rs b/server/client-lib/src/lib.rs index 515b2e38..f2c47ea0 100644 --- a/server/client-lib/src/lib.rs +++ b/server/client-lib/src/lib.rs @@ -56,7 +56,7 @@ pub struct Player { pub name: String, pub class: PlayerClass, pub character: Character, - pub interacting: Option<(IVec2, Hand)>, + pub interacting: Option<(ItemLocation, Hand)>, pub items: Vec>, pub communicate_persist: Option<(Message, MessageTimeout)>, -- cgit v1.3