LagCompensation: fix super dumb mistake
This commit is contained in:
1 parent
a0fe931c79
commit
f0d3ba3296
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user