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
@@ -173,6 +173,8 @@ ScreenJukebox::ScreenJukebox()
static LocalizedString NO_MATCHING_STEPS("ScreenJukebox", "NoMatchingSteps");
void ScreenJukebox::Init()
{
// The server crashes if syncing is attempted while connected to SMO. -Kyz
NSMAN->CloseConnection();
// ScreenJukeboxMenu must set this
ASSERT( GAMESTATE->GetCurrentStyle(PLAYER_INVALID) != NULL );
GAMESTATE->m_PlayMode.Set( PLAY_MODE_REGULAR );