Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided).

--HG--
extra : rebase_source : cb9bd8d35bddfb5feb3bead7284398eb8bd7d6b4
This commit is contained in:
Nicholas Hastings 2013-08-22 21:45:40 -04:00
parent 50083048f6
commit 4d2eb7af30

View File

@ -427,7 +427,7 @@ stock TF2_RemoveWeaponSlot(client, slot)
while ((weaponIndex = GetPlayerWeaponSlot(client, slot)) != -1)
{
RemovePlayerItem(client, weaponIndex);
RemoveEdict(weaponIndex);
AcceptEntityInput(weaponIndex, "Kill");
}
}