Nevermind.
parent
9c954fd952
commit
4689558141
|
@ -227,6 +227,7 @@ function SWEP:Undisguise()
|
||||||
umsg.End()
|
umsg.End()
|
||||||
|
|
||||||
// Pop!
|
// Pop!
|
||||||
|
UndisguiseSilent()
|
||||||
owner:EmitSound("Disguiser.Undisguise")
|
owner:EmitSound("Disguiser.Undisguise")
|
||||||
|
|
||||||
// We're no longer disguised
|
// We're no longer disguised
|
||||||
|
@ -384,10 +385,3 @@ end
|
||||||
function SWEP:GetPropConfig(name)
|
function SWEP:GetPropConfig(name)
|
||||||
return self.PropConfiguration[name] or {}
|
return self.PropConfiguration[name] or {}
|
||||||
end
|
end
|
||||||
|
|
||||||
function SWEP:OnRemove()
|
|
||||||
// Do you want to get stuck as a prop forever? NO.
|
|
||||||
if !!self && IsValid(self.Owner) && self.Owner:Alive() then
|
|
||||||
self:Undisguise()
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in New Issue