From a4853561d31b4f02dfdd19a0b8183e07590b85a5 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 12 Nov 2020 00:58:06 +0200 Subject: [PATCH] Makes it reference the mind, not the body --- code/modules/antagonists/wizard/equipment/soulstone.dm | 2 +- code/modules/mob/living/simple_animal/constructs.dm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/antagonists/wizard/equipment/soulstone.dm b/code/modules/antagonists/wizard/equipment/soulstone.dm index abef18ade0..8303de60cc 100644 --- a/code/modules/antagonists/wizard/equipment/soulstone.dm +++ b/code/modules/antagonists/wizard/equipment/soulstone.dm @@ -249,7 +249,7 @@ S.name = "Shade of [T.real_name]" S.real_name = "Shade of [T.real_name]" T.transfer_ckey(S) - S.original_mind = T.mind.current + S.original_mind = T.mind S.copy_languages(T, LANGUAGE_MIND)//Copies the old mobs languages into the new mob holder. S.update_atom_languages() grant_all_languages(FALSE, FALSE, TRUE) //Grants omnitongue diff --git a/code/modules/mob/living/simple_animal/constructs.dm b/code/modules/mob/living/simple_animal/constructs.dm index af8382a82b..61187006a4 100644 --- a/code/modules/mob/living/simple_animal/constructs.dm +++ b/code/modules/mob/living/simple_animal/constructs.dm @@ -44,7 +44,7 @@ var/can_repair_constructs = FALSE var/can_repair_self = FALSE var/runetype - var/original_mind + var/datum/mind/original_mind /mob/living/simple_animal/hostile/construct/Initialize() . = ..() @@ -69,7 +69,7 @@ /mob/living/simple_animal/hostile/construct/death() if(original_mind) - transfer_ckey(original_mind) + transfer_ckey(original_mind.current) ..() /mob/living/simple_animal/hostile/construct/Login()