Ensure deferred title start at the end of tic

This commit is contained in:
Eidolon 2024-02-27 20:32:43 -06:00
parent 7bf5d6413c
commit 6ac53d8eed

View file

@ -6090,6 +6090,11 @@ boolean TryRunTics(tic_t realtics)
ps_tictime = I_GetPreciseTime() - ps_tictime;
if (D_IsDeferredStartTitle())
{
D_StartTitle();
}
// Leave a certain amount of tics present in the net buffer as long as we've ran at least one tic this frame.
if (client && gamestate == GS_LEVEL && leveltime > 1 && neededtic <= gametic + cv_netticbuffer.value)
{