From 93568fcb09f3e971c50ca10da9b57eccc754cbe6 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 11 Nov 2017 14:20:00 -0500 Subject: Removed most of the debug print statements in the core Also did some other stuff I guess --- gamemode/inventorysystem/shapedinventory/cl_shaped.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gamemode/inventorysystem/shapedinventory/cl_shaped.lua') 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 -- cgit v1.2.3-70-g09d2