From 21aad918fbdd47be5e0dc0fbbcd780c3f6433bdb Mon Sep 17 00:00:00 2001 From: Alex Gospodchikov Date: Thu, 14 Feb 2019 11:25:42 +0300 Subject: [PATCH 1/2] AI's Wipe Core now properly ghosts the player --- code/modules/mob/living/silicon/ai/latejoin.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/silicon/ai/latejoin.dm b/code/modules/mob/living/silicon/ai/latejoin.dm index 41e7d20fb1e..d049c83bf86 100644 --- a/code/modules/mob/living/silicon/ai/latejoin.dm +++ b/code/modules/mob/living/silicon/ai/latejoin.dm @@ -37,6 +37,9 @@ var/global/list/empty_playable_ai_cores = list() var/datum/game_mode/traitor/autotraitor/current_mode = ticker.mode current_mode.possible_traitors.Remove(src) + // Ghost the current player and disallow them to return to the body + ghostize(0) + // Delete the old AI shell qdel(src) // TODO: Move away from the insane name-based landmark system From b8a5facf6ab9b35c3a247a95cb1ebe6ea7390d79 Mon Sep 17 00:00:00 2001 From: Alex Gospodchikov Date: Thu, 14 Feb 2019 18:36:21 +0300 Subject: [PATCH 2/2] Changed ghostize(0) to ghostize(FALSE) --- code/modules/mob/living/silicon/ai/latejoin.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/silicon/ai/latejoin.dm b/code/modules/mob/living/silicon/ai/latejoin.dm index d049c83bf86..c364c8d21b9 100644 --- a/code/modules/mob/living/silicon/ai/latejoin.dm +++ b/code/modules/mob/living/silicon/ai/latejoin.dm @@ -38,7 +38,7 @@ var/global/list/empty_playable_ai_cores = list() current_mode.possible_traitors.Remove(src) // Ghost the current player and disallow them to return to the body - ghostize(0) + ghostize(FALSE) // Delete the old AI shell qdel(src)