mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
G_PlayerReborn jointime betweenmaps
Fixes newly created bots having 0 rings.
This commit is contained in:
parent
9c264b3736
commit
2b706fb95b
1 changed files with 3 additions and 1 deletions
|
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue