From f8711c4e560acb765442a648213d1ef03a3db28a Mon Sep 17 00:00:00 2001 From: Afevis Date: Fri, 28 Jun 2024 18:14:04 -0400 Subject: [PATCH] Fixes airlock cyclelink examine message (#84344) Fixes #84330 :cl: ShizCalev fix: Airlocks will now correctly said what other airlock they are cyclelinked with. /:cl: --- code/game/machinery/doors/airlock.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 37310e2aceb..67f069c062c 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -611,7 +611,9 @@ . = ..() if(closeOtherId) . += span_warning("This airlock cycles on ID: [sanitize(closeOtherId)].") - else if(!closeOtherId) + else if(cyclelinkedairlock) + . += span_warning("This airlock cycles with: [cyclelinkedairlock.name].") + else . += span_warning("This airlock does not cycle.") if(obj_flags & EMAGGED) . += span_warning("Its access panel is smoking slightly.")