mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Simplified some map uses
This commit is contained in:
parent
3d95f08ef4
commit
a1d42af2df
2 changed files with 2 additions and 2 deletions
|
|
@ -290,7 +290,7 @@ pub mod game {
|
|||
map: response.info.map,
|
||||
game: response.info.game,
|
||||
players: response.info.players,
|
||||
players_details: response.players.unwrap_or(vec![]).iter().map(|p| Player::from_valve_response(p)).collect(),
|
||||
players_details: response.players.unwrap_or(vec![]).iter().map(Player::from_valve_response).collect(),
|
||||
max_players: response.info.max_players,
|
||||
bots: response.info.bots,
|
||||
server_type: response.info.server_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue