forked from UNLOZE/sm-plugins
Revert "entWatch4: Drop Ammo aswell, when force drops happen."
This reverts commit b09777159a.
This commit is contained in:
@@ -420,7 +420,7 @@ public void OnClientDisconnect(int client)
|
||||
{
|
||||
if (item.bWeapon && !(item.dConfig.iSlot == SLOT_NONE || item.dConfig.iSlot == SLOT_KNIFE))
|
||||
{
|
||||
Client_DropWeapon(item.iClient, item.iWeapon);
|
||||
SDKHooks_DropWeapon(item.iClient, item.iWeapon, NULL_VECTOR, NULL_VECTOR);
|
||||
}
|
||||
|
||||
item.iClient = INVALID_ENT_REFERENCE;
|
||||
@@ -451,7 +451,7 @@ public void OnClientDeath(Event hEvent, const char[] sEvent, bool bDontBroadcast
|
||||
{
|
||||
if (item.bWeapon && !(item.dConfig.iSlot == SLOT_NONE || item.dConfig.iSlot == SLOT_KNIFE))
|
||||
{
|
||||
Client_DropWeapon(item.iClient, item.iWeapon);
|
||||
SDKHooks_DropWeapon(item.iClient, item.iWeapon, NULL_VECTOR, NULL_VECTOR);
|
||||
}
|
||||
|
||||
item.iClient = INVALID_ENT_REFERENCE;
|
||||
|
||||
Reference in New Issue
Block a user