summaryrefslogtreecommitdiff
path: root/entities
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-27 18:30:57 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-27 18:30:57 -0400
commit9ea65b0c6a2b53766e5aa66cb6d86644a70da21f (patch)
treef1aee040db7051a9db92e7b98746bf12d4fa5829 /entities
parentf797cbe348dd52b51da4cd4812cfa291d1434095 (diff)
downloadgmstranded-9ea65b0c6a2b53766e5aa66cb6d86644a70da21f.tar.gz
gmstranded-9ea65b0c6a2b53766e5aa66cb6d86644a70da21f.tar.bz2
gmstranded-9ea65b0c6a2b53766e5aa66cb6d86644a70da21f.zip
More work on structure system
Diffstat (limited to 'entities')
-rw-r--r--entities/entities/gms_base_entity.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/entities/entities/gms_base_entity.lua b/entities/entities/gms_base_entity.lua
index eff03cb..09ad3d7 100644
--- a/entities/entities/gms_base_entity.lua
+++ b/entities/entities/gms_base_entity.lua
@@ -18,7 +18,9 @@ function ENT:Initialize()
self:SetSolid( SOLID_VPHYSICS )
end
- self:onInitialize()
+ if self.onInitialize then
+ self:onInitialize()
+ end
end
function ENT:Draw()