From fd5bd8e3013c9e18ef20fd3111fabe21f6f9696c Mon Sep 17 00:00:00 2001 From: elexis Date: Sat, 28 Jan 2017 20:47:26 +0000 Subject: [PATCH] Fix 9964bee5bb. Differential Revision: https://code.wildfiregames.com/D100 Reviewed By: Imarok This was SVN commit r19182. --- source/network/NetServer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/network/NetServer.cpp b/source/network/NetServer.cpp index 2a428d35a1..3e2510ae16 100644 --- a/source/network/NetServer.cpp +++ b/source/network/NetServer.cpp @@ -1328,7 +1328,9 @@ void CNetServerWorker::CheckGameLoadStatus(CNetServerSession* changedSession) // Inform clients that everyone has loaded the map and that the game can start CLoadedGameMessage loaded; loaded.m_CurrentTurn = 0; - Broadcast(&loaded, { NSS_PREGAME }); + + // Notice the changedSession is still in the NSS_PREGAME state + Broadcast(&loaded, { NSS_PREGAME, NSS_INGAME }); m_State = SERVER_STATE_INGAME; }