Valve: Rename players-related fields

This commit is contained in:
CosminPerRam 2023-01-13 19:36:03 +02:00
parent 637252ca18
commit ff789fcb90
5 changed files with 23 additions and 21 deletions

View file

@ -244,9 +244,9 @@ impl ValveProtocol {
folder,
game,
appid: 0, //not present in the obsolete response
players,
max_players,
bots,
players_online: players,
players_maximum: max_players,
players_bots: bots,
server_type,
environment_type,
has_password,
@ -343,9 +343,9 @@ impl ValveProtocol {
folder,
game,
appid,
players,
max_players,
bots,
players_online: players,
players_maximum: max_players,
players_bots: bots,
server_type,
environment_type,
has_password,