mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +00:00
Pre-emptively fixes a possible issue where a player who is exiting would have their realtime adjusted on respawn, affecting final results.
This commit is contained in:
parent
9980631e2f
commit
3d9137a9cf
1 changed files with 5 additions and 1 deletions
|
|
@ -11735,7 +11735,11 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
mobj->health = 1;
|
mobj->health = 1;
|
||||||
p->playerstate = PST_LIVE;
|
p->playerstate = PST_LIVE;
|
||||||
|
|
||||||
p->realtime = leveltime;
|
if (!p->exiting || !p->realtime)
|
||||||
|
{
|
||||||
|
p->realtime = leveltime;
|
||||||
|
}
|
||||||
|
|
||||||
p->followitem = skins[p->skin].followitem;
|
p->followitem = skins[p->skin].followitem;
|
||||||
|
|
||||||
//awayview stuff
|
//awayview stuff
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue