Installs won't jump to SelMusic on Gameplay or System Menus (e.g. Edit Mode) anymore on download completion.

This commit is contained in:
AJ Kelly
2010-12-21 22:29:11 -06:00
parent 2d6d081c30
commit d282db4b7c
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -19,6 +19,8 @@ sm-ssc v1.2 | 201012xx
* [ScreenSelectMaster] Fix DoSwitchAnyways to actually work again.
* [Screen] Added SetNextScreenName(string) and SetPrevScreenName(string)
Lua bindings. [freem]
* [ScreenInstallOverlay] Installs won't jump to SelMusic on Gameplay or System
Menus (e.g. Edit Mode) anymore on download completion. [freem]
20101220
--------
+3 -1
View File
@@ -370,7 +370,9 @@ void ScreenInstallOverlay::Update( float fDeltaTime )
sInitialScreen = StepMania::GetInitialScreen();
}
SCREENMAN->SetNewScreen( sInitialScreen );
Screen *curScreen = SCREENMAN->GetTopScreen();
if(curScreen->GetScreenType() == game_menu || curScreen->GetScreenType() == attract)
SCREENMAN->SetNewScreen( sInitialScreen );
}
}