Merge branch 'oldspecnightsrecordsfix' into 'next'

Fix hud_nightsrecords in old (multiplayer) special stages

See merge request STJr/SRB2!2191
This commit is contained in:
sphere 2024-02-04 21:35:36 +00:00
commit c91fc082f9

View file

@ -2113,7 +2113,7 @@ static void ST_drawNiGHTSHUD(void)
V_DrawString(160 + numbersize + 8, 24, V_SNAPTOTOP|((realnightstime < 10) ? V_REDMAP : V_YELLOWMAP), va("%02d", G_TicsToCentiseconds(stplyr->nightstime)));
}
if (oldspecialstage)
if (oldspecialstage && LUA_HudEnabled(hud_nightsrecords))
{
if (leveltime < 5*TICRATE)
{