Disconnect from SMO when syncing or in jukebox to avoid a crash.

This commit is contained in:
Kyzentun Keeslala
2016-03-14 22:36:28 -06:00
parent 62ccc9dae1
commit e9ce076d50
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -16,6 +16,8 @@ REGISTER_SCREEN_CLASS( ScreenGameplaySyncMachine );
void ScreenGameplaySyncMachine::Init()
{
m_bForceNoNetwork = true;
// The server crashes if syncing is attempted while connected to SMO. -Kyz
NSMAN->CloseConnection();
GAMESTATE->m_PlayMode.Set( PLAY_MODE_REGULAR );
GAMESTATE->SetCurrentStyle( GAMEMAN->GetHowToPlayStyleForGame(GAMESTATE->m_pCurGame), PLAYER_INVALID );