mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-27 10:54:15 +08:00
note for later
This commit is contained in:
parent
af237639d5
commit
0becc74280
@ -1861,6 +1861,9 @@ void Steam_Overlay::AddAchievementNotification(nlohmann::json const& ach)
|
|||||||
std::lock_guard<std::recursive_mutex> lock(overlay_mutex);
|
std::lock_guard<std::recursive_mutex> lock(overlay_mutex);
|
||||||
if (!Ready()) return;
|
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<Overlay_Achievement*> found_achs{};
|
std::vector<Overlay_Achievement*> found_achs{};
|
||||||
{
|
{
|
||||||
std::lock_guard<std::recursive_mutex> lock2(global_mutex);
|
std::lock_guard<std::recursive_mutex> lock2(global_mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user