A failure in a popup will no longer disable the whole game

This commit is contained in:
Stephan Sundermann committed 2012-03-02 15:06:21 +01:00
1 parent a6dbdb101b
commit ca495d9da3
1 file changed
+2 -3
+2 -3
View File
@@ -552,10 +552,9 @@ namespace Vocaluxe.Menu
private static bool Update()
{
bool popup = true;
if (_CurrentPopupScreen != EPopupScreens.NoPopup)
popup = _PopupScreens[(int)_CurrentPopupScreen].UpdateGame();
return _Screens[(int)_CurrentScreen].UpdateGame() && popup;
_PopupScreens[(int)_CurrentPopupScreen].UpdateGame();
return _Screens[(int)_CurrentScreen].UpdateGame();
}
private static void DrawDebugInfos()