Skip to content

Commit

Permalink
Updated CCheevos.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Shardul555 authored Aug 20, 2021
1 parent 2aa10a5 commit e556e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/RetroPlayer/cheevos/Cheevos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@ void CCheevos::Callback_URL_ID(const char* achievement_url, unsigned cheevo_id)
curl.Get(achievement_url, res);
std::string description = activated_cheevo_map[cheevo_id][1];
std::string header =
std::string("Congratulations, ") + std::string("Achievement Unlocked");
std::string("Congratulations, Achievement Unlocked");

CGUIDialogKaiToast::QueueNotification(CGUIDialogKaiToast::Info, header, description);
}

void CCheevos::CheckTriggeredAchievement()
{
m_gameClient->GetAchievement_URL_ID(Callback_URL_ID); // Callback for triggered achievement URL and id
}
}

0 comments on commit e556e2e

Please sign in to comment.