Lobby: include HostUserId in GameStateDto and let client derive host status; update tests
Some checks failed
Build / build (pull_request) Failing after 1m0s
Some checks failed
Build / build (pull_request) Failing after 1m0s
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user