- force sending game settings just before launch if we detect something has changed (like random faction calculation)

This commit is contained in:
Mark Vejvoda 2010-10-14 22:41:03 +00:00
parent 9a73cd520c
commit 94da959fd4
1 changed files with 1 additions and 0 deletions

View File

@ -929,6 +929,7 @@ void MenuStateCustomGame::PlayNow() {
needToSetChangedGameSettings == true) || (RandomCount > 0)) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",__FILE__,__FUNCTION__,__LINE__);
serverInterface->setGameSettings(&gameSettings,true);
serverInterface->broadcastGameSetup(&gameSettings);
needToSetChangedGameSettings = false;
lastSetChangedGameSettings = time(NULL);