diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-05-20 11:37:23 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-05-20 11:37:23 -0400 |
| commit | c6698dad925e75ffd2ca2f2e30a595d4ce48d240 (patch) | |
| tree | 226338dc7ee26a6316951554cf953112ba072c76 /gamemode/inventorysystem/equipment/sh_equipment.lua | |
| parent | 9e0537b0aa417e88a6a61238484ddcef74080ae0 (diff) | |
| download | artery-c6698dad925e75ffd2ca2f2e30a595d4ce48d240.tar.gz artery-c6698dad925e75ffd2ca2f2e30a595d4ce48d240.tar.bz2 artery-c6698dad925e75ffd2ca2f2e30a595d4ce48d240.zip | |
Massive changes I guess
Diffstat (limited to 'gamemode/inventorysystem/equipment/sh_equipment.lua')
| -rw-r--r-- | gamemode/inventorysystem/equipment/sh_equipment.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gamemode/inventorysystem/equipment/sh_equipment.lua b/gamemode/inventorysystem/equipment/sh_equipment.lua index 793eeac..be930e0 100644 --- a/gamemode/inventorysystem/equipment/sh_equipment.lua +++ b/gamemode/inventorysystem/equipment/sh_equipment.lua @@ -5,8 +5,6 @@ local itm = nrequire("item.lua") local ste = nrequire("utility/stream.lua") local inventory = nrequire("inventory/inventory.lua") local col = nrequire("config/colortheme.lua") -print("Got invnetory table, it is:") -PrintTable(inventory) local slots = { "Head", "Shoulders", @@ -98,6 +96,7 @@ end inv.Remove = function(self,position) local item = self.equiped[position[1]] + if not item then return end --Make sure we'r enot dragging an empty space if item.onUnEquip then item:onUnEquip(self.Owner) end self.equiped[position[1]] = nil end @@ -115,7 +114,6 @@ inv.Serialize = function(self) end inv.DeSerialize = function(self,data) - print("deserializeing, data was",data) if data ~= nil and data ~= "" then local tbl = util.JSONToTable(data) local cpy = table.Copy(self) |
