From 9cafd07d43443a662bd279d4a303586e29d92a4e Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 2 Sep 2017 17:33:23 -0400 Subject: Various updates --- lua/autorun/town.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lua/autorun/town.lua') diff --git a/lua/autorun/town.lua b/lua/autorun/town.lua index 0d36f41..a6f6e87 100644 --- a/lua/autorun/town.lua +++ b/lua/autorun/town.lua @@ -88,6 +88,11 @@ local fakes = { e:SetPos(pos) e:Spawn() end + }, + ["core/inventory/inventory.lua"] = { + CreateInventory = function(name) + return {} + end } } fakes["core/npc/sv_npcsystem.lua"] = fakes["sv_npcsystem.lua"] @@ -149,4 +154,5 @@ concommand.Add("artery_loadtownies",function(ply,cmd,args) if not ply:IsAdmin() then return end loadtownies() end) + hook.Add("InitPostEntity","load_lua",loadtownies) -- cgit v1.2.3-70-g09d2