From: kiwixz Date: Mon, 23 Jan 2023 21:01:37 +0000 (+0100) Subject: Keep sockets opened after first disconnect X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a057e4757b55a90cbcdc287b3fdf54ccc2682315;p=xonotic%2Fdarkplaces.git Keep sockets opened after first disconnect Signed-off-by: kiwixz --- diff --git a/cl_main.c b/cl_main.c index dd2ea6a5..a403f3e6 100644 --- a/cl_main.c +++ b/cl_main.c @@ -3140,7 +3140,7 @@ void CL_Init (void) CL_Video_Init(); - NetConn_UpdateSockets_Client(); + Cvar_Callback(&cl_netport); host.hook.ConnectLocal = CL_EstablishConnection_Local; host.hook.Disconnect = CL_DisconnectEx;