Merge pull request #75 from BClark09/patch-2

Fixed error model when weapon_map_base is forced to drop.
This commit is contained in:
William Moodhe / JetBoom 2014-12-23 11:29:29 -05:00
commit 87bc493492

View file

@ -3,6 +3,8 @@ AddCSLuaFile("shared.lua")
include("shared.lua") include("shared.lua")
SWEP.Undroppable = true
function SWEP:OnDrop() function SWEP:OnDrop()
if self:IsValid() then if self:IsValid() then
self.Weapon:Remove() self.Weapon:Remove()