From 9bca259e0f6ac1f459518c2ef7c2a11a49a17efb Mon Sep 17 00:00:00 2001 From: exstrim401 Date: Mon, 5 Dec 2022 19:23:43 +0300 Subject: [PATCH] Make net_usesocketsforloopback 1 by default (#153) Fixes connection to localhost server on macOS --- engine/net_ws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/net_ws.cpp b/engine/net_ws.cpp index 6a0d0efe..ba3a791e 100644 --- a/engine/net_ws.cpp +++ b/engine/net_ws.cpp @@ -44,7 +44,7 @@ static ConVar droppackets ( "net_droppackets", "0", FCVAR_CHEAT, "Drops next n p static ConVar fakejitter ( "net_fakejitter", "0", FCVAR_CHEAT, "Jitter fakelag packet time" ); static ConVar net_compressvoice( "net_compressvoice", "0", 0, "Attempt to compress out of band voice payloads (360 only)." ); -ConVar net_usesocketsforloopback( "net_usesocketsforloopback", "0", 0, "Use network sockets layer even for listen server local player's packets (multiplayer only)." ); +ConVar net_usesocketsforloopback( "net_usesocketsforloopback", "1", 0, "Use network sockets layer even for listen server local player's packets (multiplayer only)." ); #ifdef _DEBUG static ConVar fakenoise ( "net_fakenoise", "0", FCVAR_CHEAT, "Simulate corrupt network packets (changes n bits per packet randomly)" );