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 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 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