diff options
Diffstat (limited to 'gamemode/inventorysystem')
| -rw-r--r-- | gamemode/inventorysystem/shapedinventory/sh_shaped.lua | 2 | ||||
| -rw-r--r-- | gamemode/inventorysystem/skills/sh_skillcommon.lua | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua index 1b53d43..e9b2e91 100644 --- a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua +++ b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua @@ -104,6 +104,8 @@ function inv:Remove(tbl) end end end + print("shaped is returning",item) + return item end function inv:Get(tbl) diff --git a/gamemode/inventorysystem/skills/sh_skillcommon.lua b/gamemode/inventorysystem/skills/sh_skillcommon.lua index d48fb98..fd05eaa 100644 --- a/gamemode/inventorysystem/skills/sh_skillcommon.lua +++ b/gamemode/inventorysystem/skills/sh_skillcommon.lua @@ -2,7 +2,7 @@ Common functions since skills are a special inventory, adding skills need to be a special item ]] local itm = nrequire("item.lua") - +local log = nrequire("log.lua") --Common things --Make sure items have a "name" and "ammt" attribute local item = {} |
