From ef7157ef9374dc16633dbe115e31642aff852e55 Mon Sep 17 00:00:00 2001 From: Heroman Date: Mon, 1 Mar 2021 17:39:03 +1000 Subject: [PATCH] Adds sanity check to switch eyes layer verb --- code/modules/mob/living/carbon/human/human_powers_vr.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_powers_vr.dm b/code/modules/mob/living/carbon/human/human_powers_vr.dm index d21fbfeb052..e8ba13c4377 100644 --- a/code/modules/mob/living/carbon/human/human_powers_vr.dm +++ b/code/modules/mob/living/carbon/human/human_powers_vr.dm @@ -30,8 +30,9 @@ H.eyes_over_markings = !H.eyes_over_markings update_icons_body() - var/datum/robolimb/robohead = all_robolimbs[H.model] - if(robohead.monitor_styles && robohead.monitor_icon) - to_chat(src, "You reconfigure the rendering order of your facial display.") + if(H.robotic) + var/datum/robolimb/robohead = all_robolimbs[H.model] + if(robohead.monitor_styles && robohead.monitor_icon) + to_chat(src, "You reconfigure the rendering order of your facial display.") return TRUE