FullscreenUI: Make achievements window pause game
This commit is contained in:
1 parent
2088fa599e
commit
b45891f21a
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user