Skip to content

Commit

Permalink
RetroAchievements: Warn the user if has token and not logged in.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Aug 26, 2023
1 parent d35529e commit def2510
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/RetroAchievements.cpp
Expand Up @@ -695,6 +695,10 @@ void SetGame(const Path &path, FileLoader *fileLoader) {
}

if (!g_rcClient || !IsLoggedIn()) {
if (HasToken()) {
auto ac = GetI18NCategory(I18NCat::ACHIEVEMENTS);
g_OSD.Show(OSDType::MESSAGE_WARNING, ac->T("RetroAchievements: Not logged in! Achievements will not unlock."));
}
// Nothing to do.
return;
}
Expand Down

0 comments on commit def2510

Please sign in to comment.