From ce4ccedd10a6247aceeeb05d15b8e4d58d6e4ba3 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 27 Oct 2017 18:32:23 -0400 Subject: [PATCH] Merge pull request #32119 from AnturK/convertfix Fixes round conversion issues --- code/game/gamemodes/game_mode.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 128a794bc6..26c3810b42 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -173,7 +173,8 @@ round_converted = 0 return 1 for(var/mob/living/carbon/human/H in antag_candidates) - replacementmode.make_antag_chance(H) + if(H.client) + replacementmode.make_antag_chance(H) round_converted = 2 message_admins("-- IMPORTANT: The roundtype has been converted to [replacementmode.name], antagonists may have been created! --")