aboutsummaryrefslogtreecommitdiff
path: root/gamemode/itemsystem/items/spell_teleport.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/itemsystem/items/spell_teleport.lua')
-rw-r--r--gamemode/itemsystem/items/spell_teleport.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/gamemode/itemsystem/items/spell_teleport.lua b/gamemode/itemsystem/items/spell_teleport.lua
index 9c31f25..38bbac6 100644
--- a/gamemode/itemsystem/items/spell_teleport.lua
+++ b/gamemode/itemsystem/items/spell_teleport.lua
@@ -1,4 +1,4 @@
-
+local ITEM = {}
ITEM.Name = "Teleport"
ITEM.Class = "weapon"
ITEM.Desc = "Right click to set target location, left click to open a portal there."
@@ -79,3 +79,4 @@ function ITEM:OnPrimary(pl,tr)
print("Attempting to cast...")
pl:Cast("Gateway",teleportfunc,self)
end
+RegisterItem(ITEM)