From 91244990ce6300a8414e2a6cb8375823e241eb53 Mon Sep 17 00:00:00 2001 From: NightmareX91 Date: Tue, 15 Jul 2014 16:31:27 +0100 Subject: [PATCH] The phaser now plays reload sounds. --- entities/weapons/weapon_ff_phaser/shared.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/entities/weapons/weapon_ff_phaser/shared.lua b/entities/weapons/weapon_ff_phaser/shared.lua index c8ec904..196bd9b 100644 --- a/entities/weapons/weapon_ff_phaser/shared.lua +++ b/entities/weapons/weapon_ff_phaser/shared.lua @@ -129,6 +129,13 @@ if ( !self:CanPrimaryAttack() ) then return end end +function SWEP:Reload() + if self.Weapon:Clip1() < 32 then + self.Weapon:DefaultReload(ACT_VM_RELOAD) + self.Weapon:EmitSound("Weapon_Pistol.Reload") + end +end + function SWEP:SecondaryAttack() end