RetroAchievements: Warn the user if has token and not logged in.

This commit is contained in:
Henrik Rydgård committed 2023-08-26 13:27:10 +02:00
1 parent d35529e54f
commit def25100df
1 file changed
+4
+4
View File
@@ -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;
}