Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided).
Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided).
1.1 --- a/plugins/include/tf2_stocks.inc Thu Aug 22 21:45:19 2013 -0400
1.2 +++ b/plugins/include/tf2_stocks.inc Thu Aug 22 21:45:40 2013 -0400
1.3 @@ -427,7 +427,7 @@
1.4 while ((weaponIndex = GetPlayerWeaponSlot(client, slot)) != -1)
1.5 {
1.6 RemovePlayerItem(client, weaponIndex);
1.7 - RemoveEdict(weaponIndex);
1.8 + AcceptEntityInput(weaponIndex, "Kill");
1.9 }
1.10 }
1.11