engine: client: fix check for local game when deciding to enable netchan splitsize extension

This commit is contained in:
Alibek Omarov
2026-05-05 00:38:33 +05:00
parent fc356c88b3
commit e907e9fc95

View File

@@ -1174,7 +1174,7 @@ static void CL_SendConnectPacket( connprotocol_t proto, int challenge )
else
{
const char *qport = Cvar_VariableString( "net_qport" );
int extensions = Host_IsLocalGame() ? 0 : NET_EXT_SPLITSIZE;
int extensions = adrtype == NA_LOOPBACK ? 0 : NET_EXT_SPLITSIZE;
string key;
ID_GetMD5ForAddress( key, adr, sizeof( key ));