mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 08:31:03 +00:00
Fix server status reports causing issues for other engines.
This commit is contained in:
parent
1b911ae1f8
commit
987bc0ee75
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ static void _Datagram_ServerControlPacket (sys_socket_t acceptsock, struct qsock
|
||||||
|
|
||||||
SZ_Clear(&net_message);
|
SZ_Clear(&net_message);
|
||||||
MSG_WriteLong(&net_message, -1);
|
MSG_WriteLong(&net_message, -1);
|
||||||
MSG_WriteString(&net_message, full?"statusResponse":"infoResponse\n");net_message.cursize--;
|
MSG_WriteString(&net_message, full?"statusResponse\n":"infoResponse\n");net_message.cursize--;
|
||||||
COM_Parse(com_protocolname.string);
|
COM_Parse(com_protocolname.string);
|
||||||
if (*com_token) //the master server needs this. This tells the master which game we should be listed as.
|
if (*com_token) //the master server needs this. This tells the master which game we should be listed as.
|
||||||
{MSG_WriteString(&net_message, va("\\gamename\\%s", com_token));net_message.cursize--;}
|
{MSG_WriteString(&net_message, va("\\gamename\\%s", com_token));net_message.cursize--;}
|
||||||
|
|
Loading…
Reference in a new issue