From 4d2eb7af30bc615e1d0c5e7d8df0bc74b16f781a Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 22 Aug 2013 21:45:40 -0400 Subject: [PATCH] Changed from RemoveEdict to using the Kill input for TF2_RemoveWeapon (r=voided). --HG-- extra : rebase_source : cb9bd8d35bddfb5feb3bead7284398eb8bd7d6b4 --- plugins/include/tf2_stocks.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/tf2_stocks.inc b/plugins/include/tf2_stocks.inc index 019bf628..d86c2696 100644 --- a/plugins/include/tf2_stocks.inc +++ b/plugins/include/tf2_stocks.inc @@ -427,7 +427,7 @@ stock TF2_RemoveWeaponSlot(client, slot) while ((weaponIndex = GetPlayerWeaponSlot(client, slot)) != -1) { RemovePlayerItem(client, weaponIndex); - RemoveEdict(weaponIndex); + AcceptEntityInput(weaponIndex, "Kill"); } }