Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 780f93d

Browse files
fix (#22873)
1 parent 014a49a commit 780f93d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

code/game/machinery/telecomms/ntnet_relay.dm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,13 @@
7070
. = dos_failure
7171
dos_failure = new_value
7272

73-
/obj/machinery/ntnet_relay/update_icon_state()
74-
icon_state = "bus[is_operational() ? null : "_off"]"
75-
return ..()
73+
/obj/machinery/ntnet_relay/update_overlays()
74+
. = ..()
75+
if(!is_operational())
76+
return
77+
var/mutable_appearance/on_overlay
78+
on_overlay = mutable_appearance(icon, "[initial(icon_state)]_on")
79+
. += on_overlay
7680

7781
/obj/machinery/ntnet_relay/process(seconds_per_tick)
7882
if(is_operational())

0 commit comments

Comments
 (0)