diff --git a/source/glest_game/network/client_interface.cpp b/source/glest_game/network/client_interface.cpp index 4888db329..2588e2876 100755 --- a/source/glest_game/network/client_interface.cpp +++ b/source/glest_game/network/client_interface.cpp @@ -840,6 +840,10 @@ void ClientInterface::waitForMessage() close(); return; } + // Sleep ever second we wait to let other threads work + else if(chrono.getMillis() % 1000 == 0) { + sleep(0); + } //sleep(waitSleepTime); waitLoopCount++;