From 39fc6f740f75f6de91e261581358edcc4ed35db6 Mon Sep 17 00:00:00 2001 From: Vero <73014819+vero5123@users.noreply.github.com> Date: Mon, 8 Apr 2024 05:26:40 -0400 Subject: [PATCH] Fixes notifications emitting light (#6088) # About the pull request Fixes #5985, albeit there might be a better approach. # Explain why it's good for the game bug fix, tested it with the steps listed in the issue. Worked as far as I could tell. # Changelog :cl: fix: Notifications should no longer emit light. /:cl: --------- Co-authored-by: DOOM --- code/modules/mob/mob_helpers.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index bdb9a2718814..cb36e919e82a 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -605,7 +605,7 @@ GLOBAL_LIST_INIT(limb_types_by_name, list( alert_overlay.layer = FLOAT_LAYER alert_overlay.plane = FLOAT_PLANE - + alert_overlay.underlays.Cut() screen_alert.overlays += alert_overlay /mob/proc/reset_lighting_alpha()