From a057e4757b55a90cbcdc287b3fdf54ccc2682315 Mon Sep 17 00:00:00 2001 From: kiwixz Date: Mon, 23 Jan 2023 22:01:37 +0100 Subject: [PATCH] Keep sockets opened after first disconnect Signed-off-by: kiwixz --- cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2