diff options
Diffstat (limited to 'entities')
| -rw-r--r-- | entities/entities/gms_generic_structure.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/entities/entities/gms_generic_structure.lua b/entities/entities/gms_generic_structure.lua index d76ed30..9617da8 100644 --- a/entities/entities/gms_generic_structure.lua +++ b/entities/entities/gms_generic_structure.lua @@ -7,7 +7,8 @@ ENT.Base = "gms_base_entity" function ENT:Initialize() print("Initalize called!") util.PrecacheModel(self.Model) - if self.Model then self:SetModel(self.Model) end + --For some reason this bugs out if run client side + if SERVER then if self.Model then self:SetModel(self.Model) end end if self.onInitialize then self:onInitialize() end if CLIENT then return end self:PhysicsInit( SOLID_VPHYSICS ) |
