1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

display "since last connection" as per server on top stats instead of last connection to any servers

This commit is contained in:
RaidMax
2021-08-25 17:47:57 -05:00
parent 63e9e6d277
commit 6cef75b5b5
2 changed files with 4 additions and 3 deletions

View File

@ -51,7 +51,7 @@ namespace Stats.Helpers
Deaths = _stats.Deaths,
Performance = Math.Round(_stats.EloRating * 1/3.0 + _stats.Skill * 2/3.0, 2),
ScorePerMinute = _stats.SPM,
LastPlayed = _stats.Client.LastConnection,
LastPlayed = _stats.UpdatedAt ?? _stats.Client.LastConnection,
TotalSecondsPlayed = _stats.TimePlayed,
ServerGame = _stats.Server.GameName.ToString(),
ServerName = _stats.Server.HostName,