mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
[MIRROR] Better cyclelink_helper_multi and duplicate apc logging [MDB IGNORE] (#13922)
* Better cyclelink_helper_multi and duplicate apc logging (#67151) * Better cyclelink_helper_multi and duplicate apc logging Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
@@ -174,6 +174,8 @@
|
||||
/obj/effect/mapping_helpers/airlock/cyclelink_helper_multi/payload(obj/machinery/door/airlock/airlock)
|
||||
if(airlock.closeOtherId)
|
||||
log_mapping("[src] at [AREACOORD(src)] tried to set [airlock] closeOtherId, but it's already set!")
|
||||
else if(!cycle_id)
|
||||
log_mapping("[src] at [AREACOORD(src)] doesn't have a cycle_id to assign to [airlock]!")
|
||||
else
|
||||
airlock.closeOtherId = cycle_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user