aboutsummaryrefslogtreecommitdiff
path: root/server/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'server/protocol')
-rw-r--r--server/protocol/src/lib.rs4
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,