mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
ClientsideModel FIX
This commit is contained in:
@@ -99,9 +99,11 @@ function ENT:Think()
|
||||
end
|
||||
if self.Left then pos = pos*Vector(1,-1,1) end
|
||||
if self.Left and self.ModelProp.rotate then ang = ang-Angle(0,180,0) end
|
||||
self.Model:SetParent(self)
|
||||
self.Model:SetPos(self:LocalToWorld(pos))
|
||||
self.Model:SetAngles(self:LocalToWorldAngles(ang))
|
||||
if IsValid(self.Model) then
|
||||
self.Model:SetParent(self)
|
||||
self.Model:SetPos(self:LocalToWorld(pos))
|
||||
self.Model:SetAngles(self:LocalToWorldAngles(ang))
|
||||
end
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user