From aba36033d8dcca099a3dfa385a0a807869193c5c Mon Sep 17 00:00:00 2001 From: Henri215 <77684085+Henri215@users.noreply.github.com> Date: Wed, 5 Oct 2022 00:23:56 -0300 Subject: [PATCH] AI cryo now respects too early to ghost (#19215) --- code/modules/mob/living/silicon/ai/latejoin.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/silicon/ai/latejoin.dm b/code/modules/mob/living/silicon/ai/latejoin.dm index 7a578066df1..429f442fc71 100644 --- a/code/modules/mob/living/silicon/ai/latejoin.dm +++ b/code/modules/mob/living/silicon/ai/latejoin.dm @@ -29,7 +29,10 @@ GLOBAL_LIST_EMPTY(empty_playable_ai_cores) current_mode.possible_traitors.Remove(src) // Ghost the current player and disallow them to return to the body - ghostize() + if(TOO_EARLY_TO_GHOST) + ghostize(FALSE) + else + ghostize(TRUE) // Delete the old AI shell qdel(src)