Skip to content

Commit

Permalink
Makes dismembered heads and brains respect NOCLONE
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowlight213 committed Jun 8, 2017
1 parent 8a4cdb1 commit 16d4171
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/brain/brain_item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
if(!brainmob.stored_dna)
brainmob.stored_dna = new /datum/dna/stored(brainmob)
C.dna.copy_dna(brainmob.stored_dna)
if(L.disabilities & NOCLONE)
brainmob.disabilities |= NOCLONE //This is so you can't just decapitate a husked guy and clone them without needing to get a new body
var/obj/item/organ/zombie_infection/ZI = L.getorganslot("zombie_infection")
if(ZI)
brainmob.set_species(ZI.old_species) //For if the brain is cloned
Expand Down

0 comments on commit 16d4171

Please sign in to comment.