From c56641e0a0c6c73e2514b89e936f542f9fafeac7 Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Wed, 16 Dec 2015 16:51:14 -0800 Subject: [PATCH] - attempt to see if this fixes issue #92 --- data/glest_game | 2 +- source/glest_game/network/client_interface.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data/glest_game b/data/glest_game index c5cffd71..bf04854a 160000 --- a/data/glest_game +++ b/data/glest_game @@ -1 +1 @@ -Subproject commit c5cffd71d650321c49046dba3607b7107ca3868a +Subproject commit bf04854ade7cd0fc51483c857e590acfef4fbc26 diff --git a/source/glest_game/network/client_interface.cpp b/source/glest_game/network/client_interface.cpp index 7f277e94..5f137453 100644 --- a/source/glest_game/network/client_interface.cpp +++ b/source/glest_game/network/client_interface.cpp @@ -1795,7 +1795,11 @@ void ClientInterface::waitUntilReady(Checksum* checksum) { // delay the start a bit, so clients have more room to get messages // This is to ensure clients don't start ahead of the server and thus // constantly freeze because they are waiting for the server to catch up +#ifdef WIN32 + sleep(20); +#else sleep(120); +#endif } // This triggers LAG update packets to begin as required