Do not trigger Undisguise on removal if we're dead (as being dead resets us anyways for the most part)
parent
82d4581f12
commit
9c954fd952
|
@ -387,5 +387,7 @@ end
|
||||||
|
|
||||||
function SWEP:OnRemove()
|
function SWEP:OnRemove()
|
||||||
// Do you want to get stuck as a prop forever? NO.
|
// Do you want to get stuck as a prop forever? NO.
|
||||||
|
if !!self && IsValid(self.Owner) && self.Owner:Alive() then
|
||||||
self:Undisguise()
|
self:Undisguise()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue