diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-06-02 18:35:02 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-06-02 18:35:02 -0400 |
| commit | bb53af1930307c589f258be8e582d6765926fe78 (patch) | |
| tree | a407adf854a38b822d743d5df150deab978b8ad2 /entities | |
| parent | 5ac62d7e27d5b18abf955a814a8dd4fb95452f1e (diff) | |
| download | gmstranded-development.tar.gz gmstranded-development.tar.bz2 gmstranded-development.zip | |
Fixed bug with structures not showing up correctly client sidedevelopment
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 ) |
