From 0becc74280ebe793a6586713bee28c34f3b86b34 Mon Sep 17 00:00:00 2001 From: otavepto Date: Thu, 14 Mar 2024 19:38:56 +0200 Subject: [PATCH] note for later --- overlay_experimental/steam_overlay.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/overlay_experimental/steam_overlay.cpp b/overlay_experimental/steam_overlay.cpp index fd29e6d4..d90e527a 100644 --- a/overlay_experimental/steam_overlay.cpp +++ b/overlay_experimental/steam_overlay.cpp @@ -1861,6 +1861,9 @@ void Steam_Overlay::AddAchievementNotification(nlohmann::json const& ach) std::lock_guard lock(overlay_mutex); if (!Ready()) return; + // don't return early when disable_overlay_achievement_notification is true + // otherwise when you open the achievements list/menu you won't see the new unlock status + std::vector found_achs{}; { std::lock_guard lock2(global_mutex);