diff --git a/gamemodes/zombiesurvival/entities/entities/prop_ammo/init.lua b/gamemodes/zombiesurvival/entities/entities/prop_ammo/init.lua index 5466dfa..edd27fe 100644 --- a/gamemodes/zombiesurvival/entities/entities/prop_ammo/init.lua +++ b/gamemodes/zombiesurvival/entities/entities/prop_ammo/init.lua @@ -62,7 +62,9 @@ function ENT:Use(activator, caller) activator:GiveAmmo(self:GetAmmo(), self:GetAmmoType()) - activator.AmmoPickups = (activator.AmmoPickups or 0) + 1 + if self.PlacedInMap then + activator.AmmoPickups = (activator.AmmoPickups or 0) + 1 + end self:RemoveNextFrame(0) else diff --git a/gamemodes/zombiesurvival/entities/entities/prop_weapon/init.lua b/gamemodes/zombiesurvival/entities/entities/prop_weapon/init.lua index d8ea275..df8f21b 100644 --- a/gamemodes/zombiesurvival/entities/entities/prop_weapon/init.lua +++ b/gamemodes/zombiesurvival/entities/entities/prop_weapon/init.lua @@ -89,7 +89,9 @@ function ENT:Use(activator, caller) wep:SetClip2(self:GetClip2()) end - activator.WeaponPickups = (activator.WeaponPickups or 0) + 1 + if self.PlacedInMap then + activator.WeaponPickups = (activator.WeaponPickups or 0) + 1 + end self:RemoveNextFrame() end