forked from mirrors/0ad
Fix 9964bee5bb.
Differential Revision: https://code.wildfiregames.com/D100 Reviewed By: Imarok This was SVN commit r19182.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user