mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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;
|
||||
p->playerstate = PST_LIVE;
|
||||
|
||||
if (!p->exiting || !p->realtime)
|
||||
{
|
||||
p->realtime = leveltime;
|
||||
}
|
||||
|
||||
p->followitem = skins[p->skin].followitem;
|
||||
|
||||
//awayview stuff
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue