From 2b9eec42e7c8fa37a8001716767cfb50345da9b1 Mon Sep 17 00:00:00 2001 From: Archie Date: Fri, 8 Jan 2021 21:10:56 -0300 Subject: [PATCH] Traitorfix --- code/modules/antagonists/traitor/datum_traitor.dm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/modules/antagonists/traitor/datum_traitor.dm b/code/modules/antagonists/traitor/datum_traitor.dm index fde46cba..4e285866 100644 --- a/code/modules/antagonists/traitor/datum_traitor.dm +++ b/code/modules/antagonists/traitor/datum_traitor.dm @@ -50,6 +50,10 @@ A.malf_picker.remove_malf_verbs(A) qdel(A.malf_picker) UnregisterSignal(owner.current, COMSIG_MOVABLE_HEAR, .proc/handle_hearing) + SSticker.mode.traitors -= owner + if(!silent && owner.current) + to_chat(owner.current," You are no longer the [special_role]! ") + owner.special_role = null /datum/antagonist/traitor/proc/handle_hearing(datum/source, list/hearing_args) var/message = hearing_args[HEARING_MESSAGE] @@ -57,11 +61,6 @@ message = GLOB.syndicate_code_response_regex.Replace(message, "$1") hearing_args[HEARING_MESSAGE] = message - SSticker.mode.traitors -= owner - if(!silent && owner.current) - to_chat(owner.current," You are no longer the [special_role]! ") - owner.special_role = null - /datum/antagonist/traitor/proc/add_objective(var/datum/objective/O) owner.objectives += O objectives += O