From eb8685d32ad94a7b111dcd93be238f9b80fcb563 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 29 Jun 2024 07:16:47 +0200 Subject: [PATCH] [MIRROR] Fixes airlock cyclelink examine message (#28454) * Fixes airlock cyclelink examine message (#84344) Fixes #84330 :cl: ShizCalev fix: Airlocks will now correctly said what other airlock they are cyclelinked with. /:cl: * Fixes airlock cyclelink examine message --------- Co-authored-by: Afevis --- 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 64fdecd45d4..02df1984e1a 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -625,7 +625,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.")