engine: common: net_ws: disabled read-only flag for ip cvar

This commit is contained in:
SNMetamorph 2022-07-10 03:34:14 +04:00 committed by a1batross
parent fce3959d15
commit d8724f0be4
2 changed files with 2 additions and 2 deletions

View File

@ -1731,7 +1731,7 @@ void NET_Init( void )
net_clockwindow = Cvar_Get( "clockwindow", "0.5", FCVAR_PRIVILEGED, "timewindow to execute client moves" );
net_address = Cvar_Get( "net_address", "0", FCVAR_READ_ONLY, "contain local address of current client" );
net_ipname = Cvar_Get( "ip", "localhost", FCVAR_READ_ONLY, "network ip address" );
net_ipname = Cvar_Get( "ip", "localhost", 0, "network ip address" );
net_iphostport = Cvar_Get( "ip_hostport", "0", FCVAR_READ_ONLY, "network ip host port" );
net_hostport = Cvar_Get( "hostport", va( "%i", PORT_SERVER ), FCVAR_READ_ONLY, "network default host port" );
net_ipclientport = Cvar_Get( "ip_clientport", "0", FCVAR_READ_ONLY, "network ip client port" );

View File

@ -2271,7 +2271,7 @@ void SV_ConnectionlessPacket( netadr_t from, sizebuf_t *msg )
netadr_t to;
if( NET_StringToAdr( Cmd_Argv( 1 ), &to ))
SV_Info( to, PROTOCOL_VERSION );
SV_Info( to );
}
else if( svgame.dllFuncs.pfnConnectionlessPacket( &from, args, buf, &len ))
{