LagCompensation: fix super dumb mistake
This commit is contained in:
parent
a0fe931c79
commit
f0d3ba3296
@ -716,7 +716,7 @@ public void OnEntitySpawned(int entity, const char[] classname)
|
||||
GetEntityClassname(iParent, sParentClassname, sizeof(sParentClassname));
|
||||
|
||||
if(StrEqual(sParentClassname, "player") ||
|
||||
strncmp(sParentClassname, "weapon_", 7))
|
||||
!strncmp(sParentClassname, "weapon_", 7))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user