Fixes contractors removing ipc power cord (#16262)

This commit is contained in:
Qwertytoforty
2021-06-26 16:33:40 -04:00
committed by GitHub
parent 4a30b87a26
commit d6f15657fe
@@ -363,6 +363,9 @@
// Greys get to keep their implant
if(isgrey(H) && istype(I, /obj/item/organ/internal/cyberimp/brain/speech_translator))
continue
// IPCs keep this implant, free of charge!
if(ismachineperson(H) && istype(I, /obj/item/organ/internal/cyberimp/arm/power_cord))
continue
// Try removing it
I = I.remove(H)
if(I)