From de02c0bca9cf6eb7cdddd6757b6d959c6a71d730 Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 22 Nov 2018 18:28:27 +0000 Subject: [PATCH] Turns out your unlocks are delayed a little bit! The medals are saved, but the unlocks due to the medals aren't immediate... which is a problem for Hell Attack, since there's no indication you need to play another level for it all to work!!! --- src/y_inter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/y_inter.c b/src/y_inter.c index be3bc74e..2158d425 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -712,6 +712,9 @@ static void Y_UpdateRecordReplays(void) if ((earnedEmblems = M_CheckLevelEmblems())) CONS_Printf(M_GetText("\x82" "Earned %hu medal%s for Record Attack records.\n"), (UINT16)earnedEmblems, earnedEmblems > 1 ? "s" : ""); + if (M_UpdateUnlockablesAndExtraEmblems(false)) + S_StartSound(NULL, sfx_ncitem); + // SRB2Kart - save here so you NEVER lose your earned times/medals. G_SaveGameData(false);