include cs go "estimated" score on scoreboard
This commit is contained in:
parent
d3962989b5
commit
e90355307d
@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using SharedLibraryCore;
|
using SharedLibraryCore;
|
||||||
using SharedLibraryCore.Dtos;
|
using SharedLibraryCore.Dtos;
|
||||||
@ -94,7 +95,7 @@ namespace WebfrontCore.Controllers
|
|||||||
{
|
{
|
||||||
ClientName = clientData.client.Name,
|
ClientName = clientData.client.Name,
|
||||||
ClientId = clientData.client.ClientId,
|
ClientId = clientData.client.ClientId,
|
||||||
Score = clientData.client.Score,
|
Score = Math.Max(clientData.client.Score, clientData.stats.SessionScore),
|
||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user