summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/autorun/sv_npc.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/lua/autorun/sv_npc.lua b/lua/autorun/sv_npc.lua
index 8f346bb..d2d81da 100644
--- a/lua/autorun/sv_npc.lua
+++ b/lua/autorun/sv_npc.lua
@@ -1,13 +1,14 @@
-if CLIENT then return end
-local f = nrequire("concommands.lua")
+do return end
+--local f = nrequire("concommands.lua")
local npcs = {} --Master table of npcs
local autocompletef
+local n = {}
function RegisterNPC(npc)
assert(npc ~= nil, "Attempted to register a nil npc")
assert(npc.Name ~= nil, "Attempted to register an npc without a name")
npcs[npc.Name] = npc
- autocompletef = f.AutocompleteFunction(npcs)
+ --autocompletef = f.AutocompleteFunction(npcs)
end
function CreateNPCByName(npcname, pos)