AltTitle_OnChange: Actually correctly set cv_alttitle instead of cv_itemfinder if modified when unlocked

This commit is contained in:
toaster 2023-02-04 18:04:56 +00:00
parent 4446b1ed9e
commit 3bfd4be29e

View file

@ -4894,7 +4894,7 @@ void AltTitle_OnChange(void)
if (!M_SecretUnlocked(SECRET_ALTTITLE, true))
{
CONS_Printf(M_GetText("You haven't earned this yet.\n"));
CV_StealthSetValue(&cv_itemfinder, 0);
CV_StealthSetValue(&cv_alttitle, 0);
return;
}
}