FullscreenUI: Make achievements window pause game

This commit is contained in:
Connor McLaughlin 2021-03-03 02:39:56 +10:00
parent 2088fa599e
commit b45891f21a
1 changed files with 1 additions and 3 deletions

View File

@ -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