scoreboard tweak

This commit is contained in:
RaidMax 2022-01-24 14:05:50 -06:00
parent 11d2b0da90
commit fb11bf54a6

View File

@ -95,7 +95,7 @@ namespace WebfrontCore.Controllers
{ {
ClientName = clientData.client.Name, ClientName = clientData.client.Name,
ClientId = clientData.client.ClientId, ClientId = clientData.client.ClientId,
Score = Math.Max(clientData.client.Score, clientData.stats?.SessionScore ?? 0), Score = Math.Max(clientData.client.Score, clientData.stats?.RoundScore ?? 0),
Ping = clientData.client.Ping, Ping = clientData.client.Ping,
Kills = clientData.stats?.MatchData?.Kills, Kills = clientData.stats?.MatchData?.Kills,
Deaths = clientData.stats?.MatchData?.Deaths, Deaths = clientData.stats?.MatchData?.Deaths,