From 3fadc827e37b70fede05252e50f5c7c0be036295 Mon Sep 17 00:00:00 2001 From: PKPenguin321 Date: Mon, 6 Apr 2020 15:52:59 -0700 Subject: [PATCH 1/3] stasis bed takes diagonals --- code/game/machinery/stasis.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/stasis.dm b/code/game/machinery/stasis.dm index da8111f5714..102466666fb 100644 --- a/code/game/machinery/stasis.dm +++ b/code/game/machinery/stasis.dm @@ -21,7 +21,7 @@ /obj/machinery/stasis/Initialize() . = ..() - for(var/direction in GLOB.cardinals) + for(var/direction in GLOB.alldirs) op_computer = locate(/obj/machinery/computer/operating, get_step(src, direction)) if(op_computer) op_computer.sbed = src From febb6b6d65e138069e6b8fecebef6555a0380563 Mon Sep 17 00:00:00 2001 From: PKPenguin321 Date: Mon, 6 Apr 2020 15:54:50 -0700 Subject: [PATCH 2/3] op computers also account diagonals --- code/game/machinery/computer/Operating.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/computer/Operating.dm b/code/game/machinery/computer/Operating.dm index fdb3751872c..821b7d14531 100644 --- a/code/game/machinery/computer/Operating.dm +++ b/code/game/machinery/computer/Operating.dm @@ -23,7 +23,7 @@ find_table() /obj/machinery/computer/operating/Destroy() - for(var/direction in GLOB.cardinals) + for(var/direction in GLOB.alldirs) table = locate(/obj/structure/table/optable, get_step(src, direction)) if(table && table.computer == src) table.computer = null @@ -52,7 +52,7 @@ advanced_surgeries |= D.surgery /obj/machinery/computer/operating/proc/find_table() - for(var/direction in GLOB.cardinals) + for(var/direction in GLOB.alldirs) table = locate(/obj/structure/table/optable, get_step(src, direction)) if(table) table.computer = src From f9d79b43ab11b65367864a21f8684a9f62069560 Mon Sep 17 00:00:00 2001 From: PKPenguin321 Date: Mon, 6 Apr 2020 18:01:50 -0700 Subject: [PATCH 3/3] optable initialize too --- code/game/objects/structures/tables_racks.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm index d46caf30fc7..2bd552bf19b 100644 --- a/code/game/objects/structures/tables_racks.dm +++ b/code/game/objects/structures/tables_racks.dm @@ -526,7 +526,7 @@ /obj/structure/table/optable/Initialize() . = ..() - for(var/direction in GLOB.cardinals) + for(var/direction in GLOB.alldirs) computer = locate(/obj/machinery/computer/operating, get_step(src, direction)) if(computer) computer.table = src