mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
fix replay bots spawning glocks with burst fire... again
This commit is contained in:
parent
506076723f
commit
7dea02e513
@ -1949,9 +1949,7 @@ public Action Hook_GunTouch(int entity, int client)
|
||||
|
||||
if (StrEqual(classname, "weapon_glock"))
|
||||
{
|
||||
int owner = GetEntPropEnt(entity, Prop_Data, "m_hOwnerEntity");
|
||||
|
||||
if (!IsValidClient(owner) || !IsFakeClient(owner))
|
||||
if (!IsValidClient(client) || !IsFakeClient(client))
|
||||
{
|
||||
SetEntProp(entity, Prop_Send, "m_bBurstMode", 1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user