From bb53af1930307c589f258be8e582d6765926fe78 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Thu, 2 Jun 2016 18:35:02 -0400 Subject: Fixed bug with structures not showing up correctly client side --- gamemode/structuresystem/structures/aaaStructureExample.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gamemode/structuresystem/structures/aaaStructureExample.lua') diff --git a/gamemode/structuresystem/structures/aaaStructureExample.lua b/gamemode/structuresystem/structures/aaaStructureExample.lua index abe91ba..060eba8 100644 --- a/gamemode/structuresystem/structures/aaaStructureExample.lua +++ b/gamemode/structuresystem/structures/aaaStructureExample.lua @@ -6,7 +6,7 @@ STRUCT = {} STRUCT.Name = "Example Structure" --The model for this structure. -STRUCT.Model = "models/props/de_inferno/ClayOven.mdl" +STRUCT.Model = "models/props_combine/breendesk.mdl" --The initalize method. Called on both the server and the client STRUCT.onInitialize = function(self) @@ -20,3 +20,6 @@ STRUCT.uniquedata = false STRUCT.onUse = function(self,ply) print("onUse called!") end + +--Don't forget to register the structure when you're done! +registerStructure(STRUCT) -- cgit v1.2.3-70-g09d2