Skip to content

Commit

Permalink
Fix runtime when examining air alarms (#1746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Apr 25, 2024
1 parent 9ea01c6 commit 71da67a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@

/obj/machinery/airalarm/examine(mob/user)
. = ..()
. += span_notice("A small light indicates that the air conditioning is [span_bold(air_conditioning ? (ac_active ? "active" : "idle") : "disabled")].")
var/status = air_conditioning ? (ac_active ? "active" : "idle") : "disabled"
. += span_notice("A small light indicates that the air conditioning is [span_bold(status)].")

/obj/machinery/airalarm/ui_data(mob/user)
. = ..()
Expand Down

0 comments on commit 71da67a

Please sign in to comment.