Gamerules: When the player dies, the WEAPON_SATCHEL items will detonate
with him.
This commit is contained in:
parent
8dd9fad771
commit
4c4be5946c
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ HLMultiplayerRules::PlayerDeath(base_player pl)
|
|||
|
||||
Sound_Play(pl, CHAN_AUTO, "player.die");
|
||||
|
||||
/* explode all satchels */
|
||||
s_satchel_detonate((entity)pl);
|
||||
|
||||
/* force respawn */
|
||||
pl.think = PutClientInServer;
|
||||
pl.nextthink = time + 4.0f;
|
||||
|
|
Loading…
Reference in a new issue