aboutsummaryrefslogtreecommitdiff
path: root/gamemode/inventorysystem/shapedinventory/cl_shaped.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-11-11 14:20:00 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-11-11 14:20:00 -0500
commit93568fcb09f3e971c50ca10da9b57eccc754cbe6 (patch)
tree63a353d1436f199e08fe17a527c55e879ec75077 /gamemode/inventorysystem/shapedinventory/cl_shaped.lua
parent2252904b8147419c551ad2653a20627281d0531f (diff)
downloadartery-93568fcb09f3e971c50ca10da9b57eccc754cbe6.tar.gz
artery-93568fcb09f3e971c50ca10da9b57eccc754cbe6.tar.bz2
artery-93568fcb09f3e971c50ca10da9b57eccc754cbe6.zip
Removed most of the debug print statements in the core
Also did some other stuff I guess
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