diff --git a/WebfrontCore/Views/Server/_Scoreboard.cshtml b/WebfrontCore/Views/Server/_Scoreboard.cshtml index ceaecbba5..51d498348 100644 --- a/WebfrontCore/Views/Server/_Scoreboard.cshtml +++ b/WebfrontCore/Views/Server/_Scoreboard.cshtml @@ -1,4 +1,5 @@ @using WebfrontCore.ViewModels +@using System.Globalization @model WebfrontCore.ViewModels.ScoreboardInfo @{ Layout = null; @@ -48,7 +49,7 @@ @(client.Deaths ?? 0) @Math.Round(client.Kdr ?? 0, 2) @Math.Round(client.ScorePerMinute ?? 0) - @Math.Round(client.ZScore ?? 0, 2) + @(client.ZScore == null ? "--" : Math.Round(client.ZScore.Value, 2).ToString(CultureInfo.CurrentCulture)) @client.Ping }