- bugfix for incorrect usage of playername if network packet timing is faster than expected

This commit is contained in:
Mark Vejvoda 2010-09-17 04:15:17 +00:00
parent b836bf0039
commit 6fece48382

View File

@ -953,7 +953,8 @@ void MenuStateConnectedGame::update() {
clientInterface= NetworkManager::getInstance().getClientInterface();
if(clientInterface != NULL && clientInterface->isConnected()) {
if(clientInterface->getIntroDone() == true &&
if( initialSettingsReceivedFromServer == true &&
clientInterface->getIntroDone() == true &&
(switchSetupRequestFlagType & ssrft_NetworkPlayerName) == ssrft_NetworkPlayerName) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
//needToSetChangedGameSettings = false;