aboutsummaryrefslogtreecommitdiff
path: root/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/inventorysystem/shapedinventory/cl_shaped.lua')
-rw-r--r--gamemode/inventorysystem/shapedinventory/cl_shaped.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/gamemode/inventorysystem/shapedinventory/cl_shaped.lua b/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
index dde523f..d74b629 100644
--- a/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
+++ b/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
@@ -46,7 +46,6 @@ end
--Draw the item in a position
local function drawitemat(self,x,y,item)
- print("Drawing item at ",x,y)
local tp = self.gridpanels[x][y]
if tp == nil then
error("Unable to continue, could not find item at (" .. x .. "," .. y .. ")")
@@ -67,7 +66,6 @@ local function drawitemat(self,x,y,item)
end
end
if item.DoOnPanel then
- print("Calling cl_shaped's DoOnPanel")
item:DoOnPanel(tp)
end
if item.Paint then
@@ -139,11 +137,9 @@ 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