From b45891f21a5b0f2a4e59460200facaff1a336fb4 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 3 Mar 2021 02:39:56 +1000 Subject: [PATCH] FullscreenUI: Make achievements window pause game --- src/frontend-common/fullscreen_ui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend-common/fullscreen_ui.cpp b/src/frontend-common/fullscreen_ui.cpp index 3953a5c10..0117482d8 100644 --- a/src/frontend-common/fullscreen_ui.cpp +++ b/src/frontend-common/fullscreen_ui.cpp @@ -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