From 2a98f94b24a4dbcc9fe263e57d5f4846f49d1012 Mon Sep 17 00:00:00 2001 From: Fermi <> Date: Sun, 8 Sep 2019 02:52:22 +0100 Subject: [PATCH] Rewrite --- .../code/modules/reagents/chemistry/reagents/SDGF.dm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modular_citadel/code/modules/reagents/chemistry/reagents/SDGF.dm b/modular_citadel/code/modules/reagents/chemistry/reagents/SDGF.dm index a2644e4833..6ac19496cc 100644 --- a/modular_citadel/code/modules/reagents/chemistry/reagents/SDGF.dm +++ b/modular_citadel/code/modules/reagents/chemistry/reagents/SDGF.dm @@ -79,13 +79,10 @@ IMPORTANT FACTORS TO CONSIDER WHILE BALANCING //Process the willing ghosts, and make sure they're actually in the body when they're moved into it! candies = shuffle(candies)//Shake those ghosts up! for(var/mob/dead/observer/C2 in candies) - if(!C2.key) - candies =- C2 - continue - SM.key = C2.key - if(SM.mind) + if(C2.mind && C2.key) message_admins("Ghost candidate found! [C2] key [C2.key] is becoming a clone of [M] key: [M.key] (They agreed to respect the character they're becoming, and agreed to not ERP without express permission from the original.)") log_game("FERMICHEM: [M] ckey: [M.key] is creating a clone, controlled by [C2]") + SM.key = C2.key break else candies =- C2