From 154342a1df87ccf388ae445d3fc017a36390f9c3 Mon Sep 17 00:00:00 2001 From: koolaid Date: Tue, 7 Nov 2023 13:44:31 -0500 Subject: [PATCH] Update lua/weapons/koolaids_poo_blaster.lua --- lua/weapons/koolaids_poo_blaster.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/weapons/koolaids_poo_blaster.lua b/lua/weapons/koolaids_poo_blaster.lua index 999adf9..96e8c54 100644 --- a/lua/weapons/koolaids_poo_blaster.lua +++ b/lua/weapons/koolaids_poo_blaster.lua @@ -53,7 +53,7 @@ local mdls = {"models/props_docks/channelmarker_gib01.mdl","models/props_c17/dol function SWEP:PrimaryAttack() -- This weapon is 'automatic'. This function call below defines -- the rate of fire. Here we set it to shoot every 0.5 seconds. - self:SetNextPrimaryFire( CurTime() + 0.0001 ) + self:SetNextPrimaryFire( CurTime() ) self:EmitSound( self.Primary.Sound ) -- Call 'ThrowChair' on self with this model self:ThrowChair( mdls[math.random(1,table.Count(mdls))] ) @@ -63,7 +63,7 @@ end function SWEP:SecondaryAttack() -- Though the secondary fire isn't automatic -- players shouldn't be able to fire too fast - self:SetNextSecondaryFire( CurTime() + 0.0001 ) + self:SetNextSecondaryFire( CurTime() ) self:EmitSound( self.Secondary.Sound ) self:ThrowChair( "models/weapons/w_bugbait.mdl" ) end