From 6eab36fba6cc3b44c22b4901b2847bfed81f2eb5 Mon Sep 17 00:00:00 2001 From: Lucy Date: Thu, 25 Apr 2024 09:48:19 -0400 Subject: [PATCH] Fix runtime when examining air alarms --- .../modules/atmospherics/machinery/air_alarm/air_alarm_ac.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkestation/code/modules/atmospherics/machinery/air_alarm/air_alarm_ac.dm b/monkestation/code/modules/atmospherics/machinery/air_alarm/air_alarm_ac.dm index ff6df9ecc2fb..6d39c055972d 100644 --- a/monkestation/code/modules/atmospherics/machinery/air_alarm/air_alarm_ac.dm +++ b/monkestation/code/modules/atmospherics/machinery/air_alarm/air_alarm_ac.dm @@ -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) . = ..()