mark no zscore as 0 for scoreboard
This commit is contained in:
parent
724992ef33
commit
34e531ef8d
@ -49,7 +49,7 @@
|
|||||||
<td>@(client.Deaths ?? 0)</td>
|
<td>@(client.Deaths ?? 0)</td>
|
||||||
<td>@Math.Round(client.Kdr ?? 0, 2)</td>
|
<td>@Math.Round(client.Kdr ?? 0, 2)</td>
|
||||||
<td>@Math.Round(client.ScorePerMinute ?? 0)</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>
|
<td class="text-right">@client.Ping</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user