diff --git a/WebfrontCore/Controllers/ServerController.cs b/WebfrontCore/Controllers/ServerController.cs index e493a9614..f341e2df2 100644 --- a/WebfrontCore/Controllers/ServerController.cs +++ b/WebfrontCore/Controllers/ServerController.cs @@ -95,7 +95,7 @@ namespace WebfrontCore.Controllers { ClientName = clientData.client.Name, ClientId = clientData.client.ClientId, - Score = Math.Max(clientData.client.Score, clientData.stats.SessionScore), + Score = Math.Max(clientData.client.Score, clientData.stats?.SessionScore ?? 0), Ping = clientData.client.Ping, Kills = clientData.stats?.MatchData?.Kills, Deaths = clientData.stats?.MatchData?.Deaths,