Fixed error model when weapon_map_base is forced to drop.

This commit is contained in:
Ben Clark 2014-12-22 14:40:04 +00:00
parent 8dffa52522
commit a944dfdd2c

View file

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