[MIRROR] Fixes airlock cyclelink examine message (#28454)

* Fixes airlock cyclelink examine message (#84344)

Fixes #84330
🆑 ShizCalev
fix: Airlocks will now correctly said what other airlock they are
cyclelinked with.
/🆑

* Fixes airlock cyclelink examine message

---------

Co-authored-by: Afevis <ShizCalev@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-06-29 10:46:47 +05:30
committed by GitHub
co-authored by Afevis
parent 0f6ca9a659
commit eb8685d32a
+3 -1
View File
@@ -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.")