From 4353b47cf5fc2d30d3a5e72ea8a7cb95977df4a5 Mon Sep 17 00:00:00 2001 From: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Date: Sun, 1 Dec 2019 14:42:34 -0600 Subject: [PATCH] Fixes some unlisted traitor issues from a recent merge (#12756) * Fixes some unlisted traitor issues from a recent merge --- code/game/gamemodes/autotraitor/autotraitor.dm | 3 ++- code/game/gamemodes/traitor/traitor.dm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/autotraitor/autotraitor.dm b/code/game/gamemodes/autotraitor/autotraitor.dm index 1a0d71d0544..6c89ab45434 100644 --- a/code/game/gamemodes/autotraitor/autotraitor.dm +++ b/code/game/gamemodes/autotraitor/autotraitor.dm @@ -52,7 +52,8 @@ if(!traitor || !istype(traitor)) pre_traitors.Remove(traitor) continue - if(istype(traitor)) + if(istype(traitor)) + traitor.special_role = SPECIAL_ROLE_TRAITOR traitor.restricted_roles = restricted_jobs // if(!traitors.len) diff --git a/code/game/gamemodes/traitor/traitor.dm b/code/game/gamemodes/traitor/traitor.dm index b55fdf70120..ae131286afd 100644 --- a/code/game/gamemodes/traitor/traitor.dm +++ b/code/game/gamemodes/traitor/traitor.dm @@ -49,6 +49,7 @@ break var/datum/mind/traitor = pick(possible_traitors) pre_traitors += traitor + traitor.special_role = SPECIAL_ROLE_TRAITOR traitor.restricted_roles = restricted_jobs possible_traitors.Remove(traitor)