From 724b0d24fe7e75dcfe1e7c53b509f3d7ec02270f Mon Sep 17 00:00:00 2001 From: AnturK Date: Tue, 10 Oct 2017 20:19:24 +0200 Subject: [PATCH] Fixes headrev TP (#31462) * Fixes headrev TP * Mhm --- code/datums/mind.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 8f33465a57..9ab5abaf32 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -551,11 +551,11 @@ text += "HEAD | not mindshielded | employee | headrev | rev" else if (src in SSticker.mode.head_revolutionaries) var/last_healthy_headrev = TRUE - for(var/I in SSticker.mode.head_revolutionaries) + for(var/datum/mind/I in SSticker.mode.head_revolutionaries) if(I == src) continue - var/mob/M = I - if((M.z in GLOB.station_z_levels) && !M.stat) + var/mob/M = I.current + if(M && (M.z in GLOB.station_z_levels) && !M.stat) last_healthy_headrev = FALSE break text += "head | not mindshielded | employee | [last_healthy_headrev ? "LAST " : ""]HEADREV | rev"