1
0
forked from mirrors/0ad
Differential Revision: https://code.wildfiregames.com/D100
Reviewed By: Imarok
This was SVN commit r19182.
This commit is contained in:
elexis
2017-01-28 20:47:26 +00:00
parent 9a6c5eac60
commit fd5bd8e301
+3 -1
View File
@@ -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;
}