From 6c89f2c8aa34a59b3688533a6ae78315922ccd4b Mon Sep 17 00:00:00 2001 From: AnturK Date: Tue, 24 Oct 2017 20:27:27 +0200 Subject: [PATCH 1/2] Fixes minor runtime --- code/datums/mind.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index dd389d46d4..3690de2c04 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -233,8 +233,9 @@ /datum/mind/proc/remove_rev() var/datum/antagonist/rev/rev = has_antag_datum(/datum/antagonist/rev) - remove_antag_datum(rev.type) - special_role = null + if(rev) + remove_antag_datum(rev.type) + special_role = null /datum/mind/proc/remove_antag_equip() var/list/Mob_Contents = current.get_contents()