Fix challenge mode check, fixing savestates not showing up if logged out

This commit is contained in:
Henrik Rydgård committed 2023-07-11 10:05:06 +02:00
1 parent 3f924d1494
commit 636fcb9714
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ bool ChallengeModeActive() {
if (!g_rcClient) {
return false;
}
return rc_client_get_hardcore_enabled(g_rcClient);
return IsLoggedIn() && rc_client_get_hardcore_enabled(g_rcClient);
}
bool WarnUserIfChallengeModeActive(const char *message) {