Try to make sure consoleplayer is set up before game ticks run
This commit is contained in:
parent
b876e585b1
commit
b6804b1ded
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue