Merge pull request #1798 from Citadel-Station-13/upstream-merge-28856

[MIRROR] Straight jackets can now properly be put onto others
This commit is contained in:
LetterJay
2017-06-27 22:53:40 -05:00
committed by GitHub
+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]))