zombiesurvival-evolved/gamemodes/zombiesurvival/entities/entities/status_headcrabcouple/cl_init.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

14 lines
242 B
Lua

INC_CLIENT()
function ENT:Initialize()
self:DrawShadow(false)
self:GetOwner().m_Couple = self
end
function ENT:OnRemove()
local owner = self:GetOwner()
if owner:IsValid() and owner.m_Couple == self then
owner.m_Couple = nil
end
end