P_Ticker: Do not evaluate interesting player conditions during introtime

This commit is contained in:
toaster 2023-03-05 19:51:33 +00:00
parent b005649d71
commit 80555e3738

View file

@ -632,8 +632,8 @@ void P_Ticker(boolean run)
ps_playerthink_time = I_GetPreciseTime() - ps_playerthink_time;
// TODO would this be laggy with more conditions in play...
if ((!demo.playback && M_UpdateUnlockablesAndExtraEmblems(true))
|| (gamedata && gamedata->deferredsave))
if ((leveltime > introtime) && ((!demo.playback && M_UpdateUnlockablesAndExtraEmblems(true))
|| (gamedata && gamedata->deferredsave)))
G_SaveGameData(true);
}