mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Fixed runtime when reattaching heads without minds
This commit is contained in:
@@ -175,7 +175,8 @@
|
||||
affected.amputated = 0
|
||||
affected.destspawn = 0
|
||||
var/obj/item/weapon/organ/head/B = tool
|
||||
B.brainmob.mind.transfer_to(target)
|
||||
if (B.brainmob.mind)
|
||||
B.brainmob.mind.transfer_to(target)
|
||||
target.update_body()
|
||||
target.updatehealth()
|
||||
target.UpdateDamageIcon()
|
||||
|
||||
Reference in New Issue
Block a user