From ffb43d6fda26cf9bdeed0e0ab99039d470e16ee8 Mon Sep 17 00:00:00 2001 From: AffectedArc07 Date: Fri, 31 Jul 2020 21:08:51 +0100 Subject: [PATCH] Foxes --- code/game/machinery/tcomms/core.dm | 2 +- code/game/machinery/tcomms/relay.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/tcomms/core.dm b/code/game/machinery/tcomms/core.dm index fa371d3593f..622ce2e2b9f 100644 --- a/code/game/machinery/tcomms/core.dm +++ b/code/game/machinery/tcomms/core.dm @@ -152,7 +152,7 @@ if(C == src) continue // We dont care about ones on other zlevels - if(C.z != z) + if(!atoms_share_level(C, src)) continue // If another core is active, return FALSE if(C.active) diff --git a/code/game/machinery/tcomms/relay.dm b/code/game/machinery/tcomms/relay.dm index 6c2e6b1a20d..bf5e6e21a9c 100644 --- a/code/game/machinery/tcomms/relay.dm +++ b/code/game/machinery/tcomms/relay.dm @@ -84,7 +84,7 @@ if(R == src) continue // We dont care about ones on other zlevels - if(R.z != z) + if(!atoms_share_level(R, src)) continue // If another relay is active, return FALSE if(R.active)