diff --git a/lucabigsteel/lua/weapons/weapon_lucabigsteel.lua b/lucabigsteel/lua/weapons/weapon_lucabigsteel.lua index 94a0beb..054c745 100644 --- a/lucabigsteel/lua/weapons/weapon_lucabigsteel.lua +++ b/lucabigsteel/lua/weapons/weapon_lucabigsteel.lua @@ -94,6 +94,7 @@ function SWEP:SecondaryAttack() if distance <= self.ExplosionRadius then local push = (1 - (distance / self.ExplosionRadius)) * 900 -- Push force decreases with distance local direction = (ply:GetPos() - explodePos):GetNormalized() + direction.z = direction.z + 0.5 -- Add upward force ply:SetVelocity(direction * push) end end @@ -109,6 +110,7 @@ function SWEP:SecondaryAttack() end + function SWEP:CanPrimaryAttack() if self.Weapon:Clip1() <= 0 then