From 451253dc5bfc695d58282175e747d8cdd0ffa77d Mon Sep 17 00:00:00 2001 From: joep van der velden Date: Sat, 30 Mar 2019 17:31:54 +0100 Subject: [PATCH] one if --- code/game/machinery/computer/cloning.dm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm index 7bb4b17930e..cbc3ebe7f67 100644 --- a/code/game/machinery/computer/cloning.dm +++ b/code/game/machinery/computer/cloning.dm @@ -396,13 +396,12 @@ return for(var/obj/machinery/clonepod/pod in pods) - if(pod.occupant) - if(pod.occupant.ckey == null) // Uses soulhooks - for(var/datum/soullink/soulhook/hook in pod.sharedSoulhooks) //Check the soul hooks to see if the to be cloned person is in here - if(hook.soulowner.ckey == subject.ckey) - scantemp = "Subject already getting cloned." - SSnanoui.update_uis(src) - return + if(pod.occupant && pod.occupant.ckey == null) + for(var/datum/soullink/soulhook/hook in pod.sharedSoulhooks) //Check the soul hooks to see if the to be cloned person is in here + if(hook.soulowner.ckey == subject.ckey) + scantemp = "Subject already getting cloned." + SSnanoui.update_uis(src) + return subject.dna.check_integrity()