From 9ba957b99603590b099f4bcd22a9cc86525dbcde Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 2 Sep 2017 17:34:27 -0400 Subject: Various debugging things --- gamemode/inventorysystem/shapedinventory/cl_shaped.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gamemode/inventorysystem') 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 -- cgit v1.2.3-70-g09d2