mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user