Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided).
--HG-- extra : rebase_source : cb9bd8d35bddfb5feb3bead7284398eb8bd7d6b4
This commit is contained in:
parent
50083048f6
commit
4d2eb7af30
@ -427,7 +427,7 @@ stock TF2_RemoveWeaponSlot(client, slot)
|
||||
while ((weaponIndex = GetPlayerWeaponSlot(client, slot)) != -1)
|
||||
{
|
||||
RemovePlayerItem(client, weaponIndex);
|
||||
RemoveEdict(weaponIndex);
|
||||
AcceptEntityInput(weaponIndex, "Kill");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user