Merge pull request #33298 from QualityVan/zombrain

Fixes zombie head removal
This commit is contained in:
oranges
2017-12-15 10:53:30 +13:00
committed by CitadelStationBot
parent a22b225015
commit 382017cbe8

View File

@@ -236,6 +236,11 @@
if(pill)
pill.forceMove(src)
//Make sure de-zombification happens before organ removal instead of during it
var/obj/item/organ/zombie_infection/ooze = owner.getorganslot(ORGAN_SLOT_ZOMBIE)
if(istype(ooze))
ooze.transfer_to_limb(src, owner)
name = "[owner.real_name]'s head"
..()