diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-16 20:26:42 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-16 20:26:42 +0200 |
| commit | ef010d6317dcbf9df84c909bab72c64a6eabacb2 (patch) | |
| tree | aa48301ac95abe7a233e1d7174d9f9f80be37829 /server/protocol | |
| parent | e95418c3e146a0a0ea82b7a99b642745c29bba5a (diff) | |
| download | hurrycurry-ef010d6317dcbf9df84c909bab72c64a6eabacb2.tar hurrycurry-ef010d6317dcbf9df84c909bab72c64a6eabacb2.tar.bz2 hurrycurry-ef010d6317dcbf9df84c909bab72c64a6eabacb2.tar.zst | |
Send _list of_ players in progress reports
Diffstat (limited to 'server/protocol')
| -rw-r--r-- | server/protocol/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index ee5651ce..82476eab 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -18,7 +18,7 @@ use glam::{IVec2, Vec2}; use serde::{Deserialize, Deserializer, Serialize}; use std::{ - collections::{BTreeMap, HashSet}, + collections::{BTreeMap, BTreeSet, HashSet}, sync::LazyLock, }; @@ -241,7 +241,7 @@ pub enum PacketC { item: ItemLocation, }, SetProgress { - player: Option<PlayerID>, + players: BTreeSet<PlayerID>, item: ItemLocation, position: f32, speed: f32, |