From 29a42549f1685d3b131c45535e179525a645ffe6 Mon Sep 17 00:00:00 2001 From: Ben Clark Date: Tue, 11 Nov 2014 01:09:01 +0000 Subject: [PATCH] fixed being able to pickup pistol ammo anytime Gave fists an ammo type so that the check made GAMEMODE.weaponrequiredforammo can function as intended. --- gamemodes/zombiesurvival/entities/weapons/weapon_zs_fists.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gamemodes/zombiesurvival/entities/weapons/weapon_zs_fists.lua b/gamemodes/zombiesurvival/entities/weapons/weapon_zs_fists.lua index 9535407..d816cda 100644 --- a/gamemodes/zombiesurvival/entities/weapons/weapon_zs_fists.lua +++ b/gamemodes/zombiesurvival/entities/weapons/weapon_zs_fists.lua @@ -22,6 +22,9 @@ SWEP.NoMagazine = true SWEP.Undroppable = true SWEP.NoPickupNotification = true +SWEP.Primary.Ammo = "none" +SWEP.Secondary.Ammo = "none" + local SwingSound = Sound( "weapons/slam/throw.wav" ) local HitSound = Sound( "Flesh.ImpactHard" )