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 <Cyberboss@users.noreply.github.com>

* untested code moment

* i hope this works

* Update revolution.dm

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
John Willard
2021-05-14 16:47:54 -04:00
committed by GitHub
co-authored by Jordan Brown
parent 769c0af3df
commit fe3dbe6b46
@@ -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)