Skip to content

Commit

Permalink
yeah...
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM authored and DOOM committed Apr 6, 2024
1 parent 726c54e commit 5a5ec47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/modules/mob/mob_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,6 @@ GLOBAL_LIST_INIT(limb_types_by_name, list(
screen_alert.desc = message
screen_alert.action = action
screen_alert.target = source
source.set_light_on(FALSE)
if(!alert_overlay)
alert_overlay = new(source)
var/icon/source_icon = icon(source.icon)
Expand All @@ -658,8 +657,8 @@ 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
source.set_light_on(TRUE)

/mob/proc/reset_lighting_alpha()
SIGNAL_HANDLER
Expand Down

0 comments on commit 5a5ec47

Please sign in to comment.