diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-19 00:38:09 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-19 00:38:09 +0200 |
| commit | 62d918e5feeaf5b3add982a5baaffb201a1f2ece (patch) | |
| tree | b14a0fa01f9df692592bf5d16543f43b6eb933d6 /server/client-lib | |
| parent | 6b156bea343a0fd9a043dcfe7113986855a89aab (diff) | |
| download | hurrycurry-62d918e5feeaf5b3add982a5baaffb201a1f2ece.tar hurrycurry-62d918e5feeaf5b3add982a5baaffb201a1f2ece.tar.bz2 hurrycurry-62d918e5feeaf5b3add982a5baaffb201a1f2ece.tar.zst | |
Implement interaction with other players through id instead of tile pos
Diffstat (limited to 'server/client-lib')
| -rw-r--r-- | server/client-lib/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Option<Item>>, pub communicate_persist: Option<(Message, MessageTimeout)>, |