mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-07 06:44:34 +00:00
Achievements: Don't display points badge for 0 points
This commit is contained in:
@@ -1336,7 +1336,9 @@ void Achievements::HandleUnlockEvent(const rc_client_event_t* event)
|
||||
else
|
||||
title = cheevo->title;
|
||||
|
||||
std::string note = fmt::format(ICON_EMOJI_TROPHY " {}", cheevo->points);
|
||||
std::string note;
|
||||
if (cheevo->points > 0)
|
||||
note = fmt::format(ICON_EMOJI_TROPHY " {}", cheevo->points);
|
||||
|
||||
FullscreenUI::AddNotification(fmt::format("achievement_unlock_{}", cheevo->id),
|
||||
static_cast<float>(g_settings.achievements_notification_duration),
|
||||
|
||||
Reference in New Issue
Block a user