Skip to content

Commit

Permalink
Fixes notifications emitting light (#6088)
Browse files Browse the repository at this point in the history
# 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 <N/A>
  • Loading branch information
vero5123 committed Apr 8, 2024
1 parent 3d25adc commit 39fc6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/mob_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 39fc6f7

Please sign in to comment.