mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix title card not showing up at all if focus lost
This commit is contained in:
parent
447ee1a04c
commit
cfafdf7bed
1 changed files with 3 additions and 1 deletions
|
|
@ -1278,13 +1278,15 @@ void ST_preDrawTitleCard(void)
|
||||||
//
|
//
|
||||||
void ST_runTitleCard(void)
|
void ST_runTitleCard(void)
|
||||||
{
|
{
|
||||||
|
boolean run = !(paused || P_AutoPause());
|
||||||
|
|
||||||
if (!G_IsTitleCardAvailable())
|
if (!G_IsTitleCardAvailable())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (lt_ticker >= (lt_endtime + TICRATE))
|
if (lt_ticker >= (lt_endtime + TICRATE))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!(paused || P_AutoPause()))
|
if (run || (lt_ticker < PRELEVELTIME))
|
||||||
{
|
{
|
||||||
// tick
|
// tick
|
||||||
lt_ticker++;
|
lt_ticker++;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue