From 21aad918fbdd47be5e0dc0fbbcd780c3f6433bdb Mon Sep 17 00:00:00 2001 From: Alex Gospodchikov Date: Thu, 14 Feb 2019 11:25:42 +0300 Subject: [PATCH] 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