From 191ba416c8b611ea4901cead138789a357c56134 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 2 Apr 2017 20:05:56 -0400 Subject: I finally had some time to work on this... dependency added on bobbleheadbob's zone addon --- gamemode/inventorysystem/equipment/cl_equipment.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/inventorysystem') diff --git a/gamemode/inventorysystem/equipment/cl_equipment.lua b/gamemode/inventorysystem/equipment/cl_equipment.lua index 22458c7..8a14a1a 100644 --- a/gamemode/inventorysystem/equipment/cl_equipment.lua +++ b/gamemode/inventorysystem/equipment/cl_equipment.lua @@ -153,7 +153,7 @@ inv.DrawOnDPanel = function(self,panel) print("Put was called!",position,item) PrintTable(position) PrintTable(item) - assert(self[position[1]] ~= nil, "Tried to put an item into an unknown slot!") + assert(self[position[1]] ~= nil, "Tried to put an item into an unknown slot! Slot:" .. position[1]) if item.GetOptions then self[position[1]].DoClick = function() local dm = DermaMenu() -- cgit v1.2.3-70-g09d2