diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-03-25 12:58:22 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-03-25 12:58:22 -0400 |
| commit | 025ef8554016a2647f31244cf6413d80dba91847 (patch) | |
| tree | 32280de04737bf4a90f96cfe3120c3fd10a06a76 /gamemode/core/inventory/common | |
| parent | 563f3e3960221fd9144e9adbde53c09392f772dd (diff) | |
| download | artery-025ef8554016a2647f31244cf6413d80dba91847.tar.gz artery-025ef8554016a2647f31244cf6413d80dba91847.tar.bz2 artery-025ef8554016a2647f31244cf6413d80dba91847.zip | |
Fix #3
Allows pacs that have been loaded on join to be removed
Also loads player data much sooner after the player spawns in.
Diffstat (limited to 'gamemode/core/inventory/common')
| -rw-r--r-- | gamemode/core/inventory/common/items.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/core/inventory/common/items.lua b/gamemode/core/inventory/common/items.lua index 0a32f27..65d8e4a 100644 --- a/gamemode/core/inventory/common/items.lua +++ b/gamemode/core/inventory/common/items.lua @@ -3,6 +3,7 @@ --@shared items.lua --@alias items +local log = nrequire("log.lua") local items = {} -- local function drop_provided(ent,invid,frompos) @@ -28,6 +29,7 @@ function items.DropItem(ent_or_tbl,invid,frompos) end ]] assert(CLIENT,"requested to drop an item when we are not the client!") + log.debug("Drop item was requested, ent_or_tbl is" .. tostring(ent_or_tbl)) net.Start("art_RequestInvDrop") net.WriteEntity(ent_or_tbl) net.WriteUInt(invid,32) |
