send playerCount in payload directly instead of nesting into legacy data structure
This commit is contained in:
@ -119,7 +119,7 @@ export class App {
|
||||
// Set initial playerCount to the payload's value
|
||||
// This will always exist since it is explicitly generated by the backend
|
||||
// This is used for any post-add rendering of things like the percentageBar
|
||||
serverRegistration.playerCount = payload.result.players.online
|
||||
serverRegistration.playerCount = payload.playerCount
|
||||
}
|
||||
|
||||
// Create the plot instance internally with the restructured and cleaned data
|
||||
|
Reference in New Issue
Block a user