Straight jackets can now properly be put onto others

This commit is contained in:
CitadelStationBot
2017-06-27 15:34:06 -05:00
parent 3f3f86e81a
commit ed4aa5a01a
+2 -2
View File
@@ -665,13 +665,13 @@
else
final_where = where
if(!what.mob_can_equip(who, src, final_where, TRUE))
if(!what.mob_can_equip(who, src, final_where, TRUE, TRUE))
to_chat(src, "<span class='warning'>\The [what.name] doesn't fit in that place!</span>")
return
visible_message("<span class='notice'>[src] tries to put [what] on [who].</span>")
if(do_mob(src, who, what.equip_delay_other))
if(what && Adjacent(who) && what.mob_can_equip(who, src, final_where, TRUE))
if(what && Adjacent(who) && what.mob_can_equip(who, src, final_where, TRUE, TRUE))
if(temporarilyRemoveItemFromInventory(what))
if(where_list)
if(!who.put_in_hand(what, where_list[2]))