mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Fixed the fix for the fix of dropall errors (#807).
This commit is contained in:
parent
dca53d61c6
commit
04e5db5420
@ -3312,7 +3312,7 @@ public Action Command_Drop(int client, const char[] command, int argc)
|
||||
|
||||
int iWeapon = GetEntPropEnt(client, Prop_Data, "m_hActiveWeapon");
|
||||
|
||||
if(iWeapon != -1 && IsValidEntity(iWeapon))
|
||||
if(iWeapon != -1 && IsValidEntity(iWeapon) && GetEntPropEnt(iWeapon, Prop_Send, "m_hOwnerEntity") == client)
|
||||
{
|
||||
CS_DropWeapon(client, iWeapon, true);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user