Better cyclelink_helper_multi and duplicate apc logging (#67151)

This commit is contained in:
Tastyfish
2022-05-26 16:16:44 -04:00
committed by GitHub
parent 48823e231b
commit 5f4eb00583
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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