Merge branch 'medal_unlocks' into 'master'

Immediate Time Medal Unlock Fix

See merge request KartKrew/Kart!104
This commit is contained in:
Sal 2018-11-22 20:52:30 -05:00
commit fe6832f559

View file

@ -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);