From ef010d6317dcbf9df84c909bab72c64a6eabacb2 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 16 Oct 2025 20:26:42 +0200 Subject: Send _list of_ players in progress reports --- server/protocol/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/protocol/src/lib.rs') 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, + players: BTreeSet, item: ItemLocation, position: f32, speed: f32, -- cgit v1.3