Fix the condition for non-net unlock check with M_SecretUnlocked to not trip if the host has it unlocked

This commit is contained in:
toaster 2022-12-11 16:14:12 +00:00
parent 803490d7aa
commit 0211bed1eb

View file

@ -756,7 +756,7 @@ boolean M_SecretUnlocked(INT32 type, boolean local)
if (unlockables[i].type != type)
continue;
if ((local && gamedata->unlocked[i])
|| M_CheckNetUnlockByID(i))
|| (!local && M_CheckNetUnlockByID(i)))
continue;
return false;
}