Skip to content

Commit

Permalink
fix (#22873)
Browse files Browse the repository at this point in the history
  • Loading branch information
warface1234455 authored Dec 24, 2024
1 parent 014a49a commit 780f93d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions code/game/machinery/telecomms/ntnet_relay.dm
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,13 @@
. = dos_failure
dos_failure = new_value

/obj/machinery/ntnet_relay/update_icon_state()
icon_state = "bus[is_operational() ? null : "_off"]"
return ..()
/obj/machinery/ntnet_relay/update_overlays()
. = ..()
if(!is_operational())
return
var/mutable_appearance/on_overlay
on_overlay = mutable_appearance(icon, "[initial(icon_state)]_on")
. += on_overlay

/obj/machinery/ntnet_relay/process(seconds_per_tick)
if(is_operational())
Expand Down

0 comments on commit 780f93d

Please sign in to comment.