Revert "Simplify intermission timer code"

This reverts commit ed16c4fd9f.
This commit is contained in:
Alug committed 2025-11-16 21:56:15 +01:00
1 parent 88a9d6c29e
commit 89f450db27
1 file changed
+12 -2
+12 -2
View File
@@ -552,8 +552,18 @@ void Y_Ticker(void)
intertic++;
if ((timer && !--timer)
|| (intertic == endtic))
// multiplayer uses timer (based on cv_inttime)
if (timer)
{
if (!--timer)
{
Y_EndIntermission();
Y_FollowIntermission();
return;
}
}
// single player is hardcoded to go away after awhile
else if (intertic == endtic)
{
Y_EndIntermission();
Y_FollowIntermission();