mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18: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"))
|
if (StrEqual(classname, "weapon_glock"))
|
||||||
{
|
{
|
||||||
int owner = GetEntPropEnt(entity, Prop_Data, "m_hOwnerEntity");
|
if (!IsValidClient(client) || !IsFakeClient(client))
|
||||||
|
|
||||||
if (!IsValidClient(owner) || !IsFakeClient(owner))
|
|
||||||
{
|
{
|
||||||
SetEntProp(entity, Prop_Send, "m_bBurstMode", 1);
|
SetEntProp(entity, Prop_Send, "m_bBurstMode", 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user