mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- force sending game settings just before launch if we detect something has changed (like random faction calculation)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user