mirror of
https://github.com/glest/glest-source.git
synced 2025-10-04 03:11:53 +02:00
- when masterserver game is over go right back to custom game lobby
This commit is contained in:
@@ -2077,6 +2077,10 @@ Stats Game::quitGame() {
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
|
||||
endStats = *(world.getStats());
|
||||
NetworkManager &networkManager= NetworkManager::getInstance();
|
||||
if(networkManager.getNetworkRole() == nrServer && gameSettings.getMasterserver_admin() != -1) {
|
||||
endStats.setIsMasterserverMode(true);
|
||||
}
|
||||
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
|
||||
|
Reference in New Issue
Block a user