mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
Fixed build
This commit is contained in:
parent
4ae4e88627
commit
14374c8290
@ -1982,7 +1982,7 @@ void Steam_Overlay::AddAchievementNotification(std::string ach_name, nlohmann::j
|
|||||||
a.progress = ach.value("progress", static_cast<float>(0));
|
a.progress = ach.value("progress", static_cast<float>(0));
|
||||||
a.max_progress = ach.value("max_progress", static_cast<float>(0));
|
a.max_progress = ach.value("max_progress", static_cast<float>(0));
|
||||||
|
|
||||||
if (achieved) {
|
if (a.achieved) {
|
||||||
post_achievement_notification(a);
|
post_achievement_notification(a);
|
||||||
notify_sound_user_achievement();
|
notify_sound_user_achievement();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user