diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-09-02 17:33:23 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-09-02 17:33:23 -0400 |
| commit | 9cafd07d43443a662bd279d4a303586e29d92a4e (patch) | |
| tree | 91f10000f6ec6ef0e004c146909945ffed885772 /lua/autorun/town.lua | |
| parent | 147c4b979de268fdf45c01beb0bb877d32e3e32c (diff) | |
| download | artery_editor-9cafd07d43443a662bd279d4a303586e29d92a4e.tar.gz artery_editor-9cafd07d43443a662bd279d4a303586e29d92a4e.tar.bz2 artery_editor-9cafd07d43443a662bd279d4a303586e29d92a4e.zip | |
Various updates
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) |
