Skip to content

Commit

Permalink
[MIRROR] Update console glow when updating icon
Browse files Browse the repository at this point in the history
  • Loading branch information
SierraKomodo authored and SuhEugene committed Oct 26, 2023
1 parent de85cde commit 2500b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/computer/computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
visible_message(SPAN_WARNING("\The [src] breaks!"))

/obj/machinery/computer/on_update_icon()
update_glow()
ClearOverlays()
icon = initial(icon)
icon_state = initial(icon_state)
Expand All @@ -62,7 +63,6 @@


if(reason_broken & MACHINE_BROKEN_NO_PARTS)
set_light(0)
icon = 'icons/obj/machines/computer.dmi'
icon_state = "wired"
var/screen = get_component_of_type(/obj/item/stock_parts/console_screen)
Expand Down

0 comments on commit 2500b8a

Please sign in to comment.