mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Merge pull request #12480 from PidgeyThePirate/Issue_12466_IPC_EMP_Identity_Loss_Fix
Issue #12466: IPC EMP Identity Loss Fix
This commit is contained in:
@@ -158,10 +158,14 @@
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/proc/ChangeToHusk()
|
||||
var/obj/item/organ/external/head/H = bodyparts_by_name["head"]
|
||||
|
||||
// If the target has no DNA to begin with, its DNA can't be damaged beyond repair.
|
||||
if(NO_DNA in dna.species.species_traits)
|
||||
return
|
||||
if(HUSK in mutations)
|
||||
return
|
||||
|
||||
var/obj/item/organ/external/head/H = bodyparts_by_name["head"]
|
||||
if(istype(H))
|
||||
H.disfigured = TRUE //makes them unknown without fucking up other stuff like admintools
|
||||
if(H.f_style)
|
||||
|
||||
Reference in New Issue
Block a user