mirror of
https://github.com/nzp-team/quakec.git
synced 2025-03-17 08:21:17 +00:00
SERVER: Remove all weapons from players on game over
This commit is contained in:
parent
f38dc703e4
commit
c81e99305e
1 changed files with 4 additions and 0 deletions
|
@ -154,6 +154,10 @@ void() EndGameSetup =
|
|||
game_over = true;
|
||||
Player_RemoveScore(self, self.points);
|
||||
Player_AddScore(self, self.score, false);
|
||||
for (float i = 0; i < MAX_PLAYER_WEAPONS; ++i)
|
||||
{
|
||||
Weapon_RemoveWeapon(i);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue