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

--HG--
extra : rebase_source : 1bc5d8aa9aa6be4022b3e1e730ff06de3e428f8e
This commit is contained in:
Nicholas Hastings 2013-08-22 21:45:40 -04:00
parent e6c3565544
commit 0dd9a5b842

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");
}
}