Adds sanity check to switch eyes layer verb

This commit is contained in:
Heroman
2021-03-01 17:39:03 +10:00
parent af90f96eed
commit ef7157ef93
@@ -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, "<span class='notice'>You reconfigure the rendering order of your facial display.</span>")
if(H.robotic)
var/datum/robolimb/robohead = all_robolimbs[H.model]
if(robohead.monitor_styles && robohead.monitor_icon)
to_chat(src, "<span class='notice'>You reconfigure the rendering order of your facial display.</span>")
return TRUE