From 34e531ef8d8463ea2ec471812173dc7ecb0621b8 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Fri, 25 Mar 2022 13:18:24 -0500 Subject: [PATCH] mark no zscore as 0 for scoreboard --- WebfrontCore/Views/Server/_Scoreboard.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebfrontCore/Views/Server/_Scoreboard.cshtml b/WebfrontCore/Views/Server/_Scoreboard.cshtml index fbc539833..3c088c0e7 100644 --- a/WebfrontCore/Views/Server/_Scoreboard.cshtml +++ b/WebfrontCore/Views/Server/_Scoreboard.cshtml @@ -49,7 +49,7 @@ @(client.Deaths ?? 0) @Math.Round(client.Kdr ?? 0, 2) @Math.Round(client.ScorePerMinute ?? 0) - @(client.ZScore == null ? "--" : Math.Round(client.ZScore.Value, 2).ToString(CultureInfo.CurrentCulture)) + @(client.ZScore == null ? 0 : Math.Round(client.ZScore.Value, 2).ToString(CultureInfo.CurrentCulture)) @client.Ping }