diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-11 14:20:00 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-11 14:20:00 -0500 |
| commit | 93568fcb09f3e971c50ca10da9b57eccc754cbe6 (patch) | |
| tree | 63a353d1436f199e08fe17a527c55e879ec75077 /gamemode/inventorysystem/cl_common.lua | |
| parent | 2252904b8147419c551ad2653a20627281d0531f (diff) | |
| download | artery-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/cl_common.lua')
| -rw-r--r-- | gamemode/inventorysystem/cl_common.lua | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gamemode/inventorysystem/cl_common.lua b/gamemode/inventorysystem/cl_common.lua index 505c5d9..559c8f0 100644 --- a/gamemode/inventorysystem/cl_common.lua +++ b/gamemode/inventorysystem/cl_common.lua @@ -27,21 +27,6 @@ function com.generatereceiver() local fromid,toid = panels[1].info.id,self.info.id local frompos,topos = panels[1].info.pos,self.info.pos local frominv,toinv = panels[1].info.inv,self.info.inv - print("Something was dropped on:",x,y) - PrintTable(panels) - print("self is", self) - print("self.info is", self.info) - PrintTable(self.info) - print("froment:",froment) - print("toent:",toent) - print("fromid",fromid) - print("toid",toid) - print("frompos:",frompos) - PrintTable(panels[1].info.pos) - print("topos:",topos) - PrintTable(self.info.pos) - print("frominv",frominv) - print("toinv",toinv) --Do nothing if we don't actually want to move anything anywhere local posequal = true @@ -57,12 +42,10 @@ function com.generatereceiver() if posequal then return end local item = frominv:Get(frompos) - print("item was", item) --Fake remove the item, in case the position we want to move it to overlaps with where it is now. frominv:Remove(frompos) local cf = toinv:CanFitIn(topos,item) frominv:Put(frompos,item) - print("canfit was:",cf) if cf == true then --Send the request net.Start("art_RequestInvMove") |
