diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 2f89291bc38..b945dca68e4 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -2149,18 +2149,20 @@ if(ismindshielded(player.current)) possible_traitors -= player if(length(possible_traitors)) - var/datum/mind/newtraitormind = pick(possible_traitors) + var/datum/mind/new_traitor_mind = pick(possible_traitors) var/datum/objective/assassinate/kill_objective = new() kill_objective.target = H.mind kill_objective.explanation_text = "Assassinate [H.mind.name], the [H.mind.assigned_role]" - newtraitormind.add_mind_objective(kill_objective) + new_traitor_mind.add_mind_objective(kill_objective) var/datum/antagonist/traitor/T = new() T.give_objectives = FALSE - to_chat(newtraitormind.current, "ATTENTION: It is time to pay your debt to the Syndicate...") - to_chat(newtraitormind.current, "Goal: KILL [H.real_name], currently in [get_area(H.loc)]") - newtraitormind.add_antag_datum(T) + to_chat(new_traitor_mind.current, "ATTENTION: It is time to pay your debt to the Syndicate...") + to_chat(new_traitor_mind.current, "Goal: KILL [H.real_name], currently in [get_area(H.loc)]") + new_traitor_mind.add_antag_datum(T) + message_admins("[key_name_admin(new_traitor_mind)] was chosen to be the traitor for a smite!") + log_admin("[key_name(new_traitor_mind)] was made into a traitor to hunt [key_name(H)] for 'Crew Traitor' smite.") else to_chat(usr, "ERROR: Unable to find any valid candidate to send after [H].") return