FullscreenUI: Make achievements window pause game
This commit is contained in:
parent
2088fa599e
commit
b45891f21a
|
@ -2207,10 +2207,8 @@ void DrawQuickMenu(MainWindowType type)
|
|||
#ifdef WITH_CHEEVOS
|
||||
const bool achievements_enabled = Cheevos::HasActiveGame() && (Cheevos::GetAchievementCount() > 0);
|
||||
if (ActiveButton(ICON_FA_TROPHY " Achievements", false, achievements_enabled))
|
||||
{
|
||||
CloseQuickMenu();
|
||||
s_current_main_window = MainWindowType::Achievements;
|
||||
}
|
||||
|
||||
#else
|
||||
ActiveButton(ICON_FA_TROPHY " Achievements", false, false);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue