From 71da67a118358fdcbc6f613ba467c1a99b119d52 Mon Sep 17 00:00:00 2001 From: Lucy Date: Thu, 25 Apr 2024 18:17:46 -0400 Subject: [PATCH] Fix runtime when examining air alarms (#1746) --- .../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) . = ..()