From b09273a5d8a6d91b6a508a933366ea7faaf9f8df Mon Sep 17 00:00:00 2001 From: Marc Schmidt Date: Sun, 28 Jul 2024 15:15:31 +0200 Subject: [PATCH] fix: changes to event instances are not published to players (#153) Closes: #152 --- .../Events/Instances/PutEventInstancesEndpoint.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/server/host/Endpoints/Administration/Events/Instances/PutEventInstancesEndpoint.cs b/src/server/host/Endpoints/Administration/Events/Instances/PutEventInstancesEndpoint.cs index c149ebb..9b4caf2 100644 --- a/src/server/host/Endpoints/Administration/Events/Instances/PutEventInstancesEndpoint.cs +++ b/src/server/host/Endpoints/Administration/Events/Instances/PutEventInstancesEndpoint.cs @@ -101,6 +101,13 @@ await realtimeEventsService.SendEventAsync( new RealtimeEvent.EventInstancesChanged(idService.Event.Encode(eventId)), ct ); + await realtimeEventsService.SendEventAsync( + new RealtimeEvent.PlayerEventChanged( + idService.Event.Encode(eventId), + RealtimeEventChangeType.Updated + ), + ct + ); if (eventInfo.StartedAt != null) {