Try to make sure consoleplayer is set up before game ticks run

This commit is contained in:
yamamama 2026-04-19 07:51:57 -04:00
parent b876e585b1
commit b6804b1ded

View file

@ -6972,6 +6972,12 @@ boolean TryRunTics(tic_t realtics)
dontRun = false;
}
if ((gamestate == GS_LEVEL) && (!(addedtogame || dedicated)))
{
// Prevent race conditions by not running game ticks if we're not added to the game yet
dontRun = true;
}
if (dontRun == false)
{
if (levelloading == true)