From 0ceb38e8a1f26716fe4756c1cfbdbbedd1fae5f1 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 28 Dec 2016 18:46:17 -0600 Subject: Fixed some stuff --- gamemode/itemsystem/items/shack.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gamemode/itemsystem/items/shack.lua') diff --git a/gamemode/itemsystem/items/shack.lua b/gamemode/itemsystem/items/shack.lua index 96790d6..29eca83 100644 --- a/gamemode/itemsystem/items/shack.lua +++ b/gamemode/itemsystem/items/shack.lua @@ -1,4 +1,4 @@ - +local ITEM = {} ITEM.Name = "Shack" ITEM.Class = "structure" ITEM.Desc = "An actual building... how convenient.\nHold down shift to snap" @@ -116,3 +116,4 @@ function ITEM:OnPrimary(pl,tr) pl:EmitSound(Sound("weapons/iceaxe/iceaxe_swing1.wav"),100,math.random(90,110)) end end +RegisterItem(ITEM) -- cgit v1.2.3-70-g09d2