Fixes airlock cyclelink examine message (#84344)

Fixes #84330
🆑 ShizCalev
fix: Airlocks will now correctly said what other airlock they are
cyclelinked with.
/🆑
This commit is contained in:
Afevis
2024-06-28 16:14:04 -06:00
committed by GitHub
parent 3dbe6cba33
commit f8711c4e56
+3 -1
View File
@@ -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.")