diff options
Diffstat (limited to 'lua/autorun/town.lua')
| -rw-r--r-- | lua/autorun/town.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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) |
