store pingHistory as player count directly

This commit is contained in:
Nick Krecklow
2020-05-08 02:52:48 -05:00
parent 37a88677cf
commit 3491c73b89
4 changed files with 25 additions and 42 deletions

View File

@ -96,8 +96,7 @@ export class ServerRegistration {
for (let i = 0; i < points.length; i++) {
const point = points[i]
const timestamp = timestampPoints[i]
this._graphData.push([timestamp, point.result ? point.result.players.online : 0])
this._graphData.push([timestamp, point])
}
}