Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo (#4702)
This commit is contained in:
parent
97ed3650d7
commit
0a6f873999
4 changed files with 15 additions and 2 deletions
|
@ -298,6 +298,8 @@ static void LAN_GetServerInfo( int source, int n, char *buf, int buflen ) {
|
|||
Info_SetValueForKey( info, "nettype", va("%i",server->netType));
|
||||
Info_SetValueForKey( info, "addr", NET_AdrToStringwPort(server->adr));
|
||||
Info_SetValueForKey( info, "punkbuster", va("%i", server->punkbuster));
|
||||
Info_SetValueForKey( info, "g_needpass", va("%i", server->g_needpass));
|
||||
Info_SetValueForKey( info, "g_humanplayers", va("%i", server->g_humanplayers));
|
||||
Q_strncpyz(buf, info, buflen);
|
||||
} else {
|
||||
if (buf) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue