From 08dcd9ddcbfb76ccf017e763014274dcc9005a4f Mon Sep 17 00:00:00 2001 From: Yoshax Date: Mon, 11 Jul 2016 04:25:21 +0100 Subject: [PATCH] Ensures voices are not selected for auto-antag roles --- code/game/antagonist/antagonist.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/antagonist/antagonist.dm b/code/game/antagonist/antagonist.dm index 9c3a9476ac..9bf83d2d6d 100644 --- a/code/game/antagonist/antagonist.dm +++ b/code/game/antagonist/antagonist.dm @@ -104,6 +104,9 @@ if(ghosts_only && !istype(player.current, /mob/observer/dead)) candidates -= player log_debug("[key_name(player)] is not eligible to become a [role_text]: Only ghosts may join as this role! They have been removed from the draft.") + else if(istype(player.current, /mob/living/voice)) + candidates -= player + log_debug("[key_name(player)] is not eligible to become a [role_text]: They are only a communicator voice. They have been removed from the draft.") else if(player.special_role) candidates -= player log_debug("[key_name(player)] is not eligible to become a [role_text]: They already have a special role ([player.special_role])! They have been removed from the draft.")