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/sword.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gamemode/itemsystem/items/sword.lua') diff --git a/gamemode/itemsystem/items/sword.lua b/gamemode/itemsystem/items/sword.lua index 0da38c3..6dc6787 100644 --- a/gamemode/itemsystem/items/sword.lua +++ b/gamemode/itemsystem/items/sword.lua @@ -1,4 +1,4 @@ - +local ITEM = {} ITEM.Name = "Sword" ITEM.Class = "weapon" ITEM.Desc = "A sword for combat." @@ -56,3 +56,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