From f0d3ba3296658f69fa9476d7072a4faadb1d2463 Mon Sep 17 00:00:00 2001 From: BotoX Date: Fri, 1 Nov 2019 19:51:18 +0100 Subject: [PATCH] LagCompensation: fix super dumb mistake --- LagCompensation/scripting/LagCompensation.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LagCompensation/scripting/LagCompensation.sp b/LagCompensation/scripting/LagCompensation.sp index ccd1067..18ca339 100644 --- a/LagCompensation/scripting/LagCompensation.sp +++ b/LagCompensation/scripting/LagCompensation.sp @@ -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; }