[MIRROR] Stops the equipment menu from runtiming if the outfit has a skillchip [MDB IGNORE] (#10611)

* Stops the equipment menu from runtiming if the outfit has a skillchip (#63929)

* Stops the equipment menu from runtiming if the outfit has a skillchip

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
This commit is contained in:
SkyratBot
2022-01-12 03:23:21 +01:00
committed by GitHub
parent ffadcaf80a
commit cd54fcf1af
@@ -215,6 +215,10 @@
SSblackbox.record_feedback("tally", "admin_verb", 1, "Select Equipment") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
for(var/obj/item/item in human_target.get_equipped_items(delete_pocket))
qdel(item)
var/obj/item/organ/brain/human_brain = human_target.getorganslot(BRAIN)
human_brain.destroy_all_skillchips() // get rid of skillchips to prevent runtimes
if(dresscode != "Naked")
human_target.equipOutfit(dresscode)