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