Server: Make it so you can't walk around after you die.
This commit is contained in:
parent
722a6ac5cd
commit
cacc015ae0
1 changed files with 5 additions and 2 deletions
|
@ -59,8 +59,11 @@ void
|
|||
TFCGameRules::PlayerDeath(NSClientPlayer pp)
|
||||
{
|
||||
player pl = (player)pp;
|
||||
pp.think = PlayerRespawn;
|
||||
pp.nextthink = time + 4.0f;
|
||||
|
||||
pl.SetSolid(SOLID_NOT);
|
||||
pl.SetMovetype(MOVETYPE_NONE);
|
||||
pl.think = PlayerRespawn;
|
||||
pl.nextthink = time + 4.0f;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue