From 3cf0f54cebe6c432bcb6add77bede53261907a19 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Mon, 28 Mar 2022 18:23:11 -0500 Subject: [PATCH] remove striped scoreboard and add spectator color --- WebfrontCore/Controllers/ServerController.cs | 2 +- WebfrontCore/Views/Server/_Scoreboard.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebfrontCore/Controllers/ServerController.cs b/WebfrontCore/Controllers/ServerController.cs index acb2085a..22bdf201 100644 --- a/WebfrontCore/Controllers/ServerController.cs +++ b/WebfrontCore/Controllers/ServerController.cs @@ -101,7 +101,7 @@ namespace WebfrontCore.Controllers Deaths = clientData.stats?.MatchData?.Deaths, ScorePerMinute = clientData.stats?.SessionSPM, Kdr = clientData.stats?.MatchData?.Kdr, - ZScore = clientData.stats?.ZScore, + ZScore = clientData.stats?.ZScore == null || clientData.stats.ZScore == 0 ? null : clientData.stats.ZScore, Team = clientData.client.Team }) .ToList() diff --git a/WebfrontCore/Views/Server/_Scoreboard.cshtml b/WebfrontCore/Views/Server/_Scoreboard.cshtml index 0438e4a6..3438b985 100644 --- a/WebfrontCore/Views/Server/_Scoreboard.cshtml +++ b/WebfrontCore/Views/Server/_Scoreboard.cshtml @@ -23,7 +23,7 @@ } } -