- Saw an error with my last commit. A proc was improperly called.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4424 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-15 23:27:48 +00:00
parent 5a199fc564
commit efc0f67199
@@ -1,6 +1,6 @@
/mob/living/carbon/human/proc/equip_in_one_of_slots(obj/item/W, list/slots, del_on_fail = 1)
for (var/slot in slots)
if (equip_to_slot_or_del(W, slots[slot], del_on_fail = 0))
if (equip_to_slot_if_possible(W, slots[slot], del_on_fail = 0))
return slot
if (del_on_fail)
del(W)