Merge pull request #6077 from Heroman3003/meson-runtime-fix

Fixes glasses with overlays runtiming on clientless mobs
This commit is contained in:
Neerti
2019-04-14 02:26:49 -04:00
committed by VirgoBot
parent 47dac87f75
commit 6c3e327687
+1 -1
View File
@@ -1398,7 +1398,7 @@
/mob/living/carbon/human/proc/process_glasses(var/obj/item/clothing/glasses/G)
if(G && G.active)
see_in_dark += G.darkness_view
if(G.overlay)
if(G.overlay && client)
client.screen |= G.overlay
if(G.vision_flags)
sight |= G.vision_flags