mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Stops the equipment menu from runtiming if the outfit has a skillchip (#63929)
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