aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/sword.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/items/sword.lua')
-rw-r--r--gamemode/itemsystem/items/sword.lua3
1 files changed, 2 insertions, 1 deletions
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)