Night vision message bugfix (#11728)

This commit is contained in:
Casper3667
2021-04-22 19:54:10 +02:00
committed by GitHub
parent 862f35ad31
commit 8b05379446
2 changed files with 7 additions and 1 deletions
@@ -82,8 +82,8 @@
var/show_message = TRUE
for(var/obj/item/protection in list(owner.head, owner.wear_mask, owner.glasses))
if((protection && (protection.body_parts_covered & EYES)))
break
show_message = FALSE
break
if(show_message && eye_emote)
owner.visible_message("<b>[owner]</b>[eye_emote]")