G_PlayerReborn jointime betweenmaps

Fixes newly created bots having 0 rings.
This commit is contained in:
Sally Coolatta 2023-03-05 15:00:05 -05:00
parent 9c264b3736
commit 2b706fb95b

View file

@ -11721,7 +11721,9 @@ void P_SpawnPlayer(INT32 playernum)
mobj_t *mobj; mobj_t *mobj;
if (p->playerstate == PST_REBORN) if (p->playerstate == PST_REBORN)
G_PlayerReborn(playernum, false); {
G_PlayerReborn(playernum, (p->jointime <= 1));
}
for (i = 0; i < MAXPLAYERS; i++) for (i = 0; i < MAXPLAYERS; i++)
{ {