From fe3dbe6b463297db1b3653fd170e32bcfd8b0105 Mon Sep 17 00:00:00 2001 From: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Date: Fri, 14 May 2021 16:47:54 -0400 Subject: [PATCH] Removes Revolutionaries becoming enemies of the revolution (#59015) * Don't become an enemy of the revolution if you're a rev * Im an idiot, thanks Co-authored-by: Jordan Brown * untested code moment * i hope this works * Update revolution.dm Co-authored-by: Jordan Brown --- code/modules/antagonists/revolution/revolution.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/antagonists/revolution/revolution.dm b/code/modules/antagonists/revolution/revolution.dm index 812b58fdceb..c394125d14b 100644 --- a/code/modules/antagonists/revolution/revolution.dm +++ b/code/modules/antagonists/revolution/revolution.dm @@ -419,6 +419,9 @@ if (!(mind.assigned_role in GLOB.command_positions + GLOB.security_positions)) continue + if (mind in ex_revs + ex_headrevs) + continue + var/mob/living/carbon/target_body = mind.current mind.add_antag_datum(/datum/antagonist/enemy_of_the_revolution)