Commit 42ab4fdb authored by DrCelt's avatar DrCelt Committed by ComicIronic
Browse files

Fixes #10735 (#12835)

Fixes #10735
parent e1aa9daf
......@@ -224,17 +224,16 @@
affected.cancer_stage = B.cancer_stage
var/datum/organ/internal/brain/copied
if(B.organ_data)
var/datum/organ/internal/brain/copied
var/datum/organ/internal/I = B.organ_data
copied = I.Copy()
else
copied = new
copied.owner = target
target.internal_organs_by_name["brain"] = copied
target.internal_organs += copied
copied.owner = target
target.internal_organs_by_name["brain"] = copied
target.internal_organs += copied
affected.internal_organs += copied
target.decapitated = null
affected.internal_organs += copied
user.u_equip(B,1)
qdel(B)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment