aboutsummaryrefslogtreecommitdiff
path: root/gamemode/inventorysystem
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-09-02 17:34:27 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-09-02 17:34:27 -0400
commit9ba957b99603590b099f4bcd22a9cc86525dbcde (patch)
tree1e807a2c80367025d26ed28859f35d3c4454aced /gamemode/inventorysystem
parent984b841c008ba29ead9ecb12aa86a57de2b0597a (diff)
downloadartery-9ba957b99603590b099f4bcd22a9cc86525dbcde.tar.gz
artery-9ba957b99603590b099f4bcd22a9cc86525dbcde.tar.bz2
artery-9ba957b99603590b099f4bcd22a9cc86525dbcde.zip
Various debugging things
Diffstat (limited to 'gamemode/inventorysystem')
-rw-r--r--gamemode/inventorysystem/shapedinventory/cl_shaped.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/inventorysystem/shapedinventory/cl_shaped.lua b/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
index 746a37a..dde523f 100644
--- a/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
+++ b/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
@@ -139,9 +139,11 @@ inv.DrawOnDPanel = function(self,panel)
local observer = {}
observer.Put = function(obs,position,item)
+ print("observer's put was called")
drawitemat(self,position[1],position[2],item)
end
observer.Remove = function(obs,position)
+ print("observer's remove was called")
undrawitemat(self,position[1],position[2])
end
return observer