mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-28 14:52:29 +00:00
SERVER: Fix taking out weapons after leaving Last Stand with Mule Kick
This commit is contained in:
parent
5c4beb453d
commit
57fb071bd5
1 changed files with 3 additions and 1 deletions
|
@ -198,8 +198,10 @@ void() GetDown =
|
||||||
|
|
||||||
// Get rid of Mule Kick Weapon
|
// Get rid of Mule Kick Weapon
|
||||||
for(float i = 0; i < MAX_PLAYER_WEAPONS; i++) {
|
for(float i = 0; i < MAX_PLAYER_WEAPONS; i++) {
|
||||||
if (self.weapons[i].is_mulekick_weapon == true)
|
if (self.weapons[i].is_mulekick_weapon == true) {
|
||||||
Weapon_RemoveWeapon(i);
|
Weapon_RemoveWeapon(i);
|
||||||
|
Weapon_SetActiveInSlot(0, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculate the loss in points, take away points from downed Player.
|
// Calculate the loss in points, take away points from downed Player.
|
||||||
|
|
Loading…
Reference in a new issue