Merge pull request #75 from BClark09/patch-2
Fixed error model when weapon_map_base is forced to drop.
This commit is contained in:
commit
87bc493492
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue