Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo (#4702)
This commit is contained in:
1 parent
97ed3650d7
commit
0a6f873999
4 files changed
+15
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user