Lobby: include HostUserId in GameStateDto and let client derive host status; update tests
Some checks failed
Build / build (pull_request) Failing after 1m0s

This commit is contained in:
Tim Krampitz
2026-10-03 22:29:33 +02:00
parent fa999da741
commit 2d0687a083
5 changed files with 27 additions and 3 deletions

View File

@@ -293,6 +293,7 @@ public class GameService : IGameService
LobbyCode = game.LobbyCode,
Status = game.Status.ToString(),
Players = playerInfos,
HostUserId = game.HostId,
CurrentRound = currentRound?.RoundNumber ?? 0,
RoundTimeRemaining = roundTimeRemaining
};