From 1e67e2dc31b4e23e6c3efe45f33838d5bf2bcf98 Mon Sep 17 00:00:00 2001 From: William Moodhe / JetBoom Date: Thu, 22 Oct 2015 03:57:16 -0400 Subject: [PATCH] Cliphull workaround --- .../entities/weapons/weapon_zs_zombie/shared.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gamemodes/zombiesurvival/entities/weapons/weapon_zs_zombie/shared.lua b/gamemodes/zombiesurvival/entities/weapons/weapon_zs_zombie/shared.lua index b7109c5..4ef5a4b 100644 --- a/gamemodes/zombiesurvival/entities/weapons/weapon_zs_zombie/shared.lua +++ b/gamemodes/zombiesurvival/entities/weapons/weapon_zs_zombie/shared.lua @@ -109,10 +109,10 @@ end function SWEP:Swung() local owner = self.Owner - owner:LagCompensation(true) + --owner:LagCompensation(true) local hit = false - local traces = owner:PenetratingMeleeTrace(self.MeleeReach, self.MeleeSize, self.PreHit) + local traces = owner:PenetratingClipHullMeleeTrace(self.MeleeReach, self.MeleeSize, self.PreHit) self.PreHit = nil local damage = self:GetDamage(self:GetTracesNumPlayers(traces)) @@ -140,7 +140,7 @@ function SWEP:Swung() end end - owner:LagCompensation(false) + --owner:LagCompensation(false) if self.FrozenWhileSwinging then owner:ResetSpeed()