SERVER: Remove all weapons from players on game over

This commit is contained in:
Peter0x44 2024-12-31 13:45:07 +00:00
parent f38dc703e4
commit c81e99305e

View file

@ -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;
}