mark no zscore as 0 for scoreboard

This commit is contained in:
RaidMax 2022-03-25 13:18:24 -05:00
parent 724992ef33
commit 34e531ef8d

View File

@ -49,7 +49,7 @@
<td>@(client.Deaths ?? 0)</td>
<td>@Math.Round(client.Kdr ?? 0, 2)</td>
<td>@Math.Round(client.ScorePerMinute ?? 0)</td>
<td>@(client.ZScore == null ? "--" : Math.Round(client.ZScore.Value, 2).ToString(CultureInfo.CurrentCulture))</td>
<td>@(client.ZScore == null ? 0 : Math.Round(client.ZScore.Value, 2).ToString(CultureInfo.CurrentCulture))</td>
<td class="text-right">@client.Ping</td>
</tr>
}