From 878e047dbad4d9ee0424d7cb67c5b5958b5294c2 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Fri, 14 Dec 2018 16:12:27 +0100 Subject: [PATCH] Improved rejoining reliability --- source/glest_game/network/server_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/network/server_interface.cpp b/source/glest_game/network/server_interface.cpp index 1cc02d4a1..32b34eb57 100644 --- a/source/glest_game/network/server_interface.cpp +++ b/source/glest_game/network/server_interface.cpp @@ -2316,7 +2316,7 @@ namespace Game { } if (bOkToStart == true) { - bool useInGameBlockingClientSockets = Config::getInstance().getBool("EnableInGameBlockingSockets", "true"); + bool useInGameBlockingClientSockets = Config::getInstance().getBool("EnableInGameBlockingSockets", "false"); if (useInGameBlockingClientSockets == true) { if (SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork, "In [%s::%s Line: %d]\n", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__); @@ -2431,7 +2431,7 @@ namespace Game { if (difftime((long int) time(NULL), lastListenerSlotCheckTime) >= 7) { lastListenerSlotCheckTime = time(NULL); - bool useInGameBlockingClientSockets = Config::getInstance().getBool("EnableInGameBlockingSockets", "true"); + bool useInGameBlockingClientSockets = Config::getInstance().getBool("EnableInGameBlockingSockets", "false"); if (SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork, "In [%s::%s Line: %d]\n", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__); for (int startIndex = 0; startIndex < GameConstants::maxPlayers; ++startIndex) {