diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm index ba11b0fa8f..7814e05138 100644 --- a/code/game/machinery/computer/cloning.dm +++ b/code/game/machinery/computer/cloning.dm @@ -83,10 +83,10 @@ var/obj/machinery/dna_scannernew/scannerf = null // Loop through every direction - for(dir in list(NORTH,EAST,SOUTH,WEST)) + for(var/direction in GLOB.cardinals) // Try to find a scanner in that direction - scannerf = locate(/obj/machinery/dna_scannernew, get_step(src, dir)) + scannerf = locate(/obj/machinery/dna_scannernew, get_step(src, direction)) // If found and operational, return the scanner if (!isnull(scannerf) && scannerf.is_operational()) @@ -98,10 +98,9 @@ /obj/machinery/computer/cloning/proc/findcloner() var/obj/machinery/clonepod/podf = null - for(dir in list(NORTH,EAST,SOUTH,WEST)) - - podf = locate(/obj/machinery/clonepod, get_step(src, dir)) + for(var/direction in GLOB.cardinals) + podf = locate(/obj/machinery/clonepod, get_step(src, direction)) if (!isnull(podf) && podf.is_operational()) AttachCloner(podf) diff --git a/code/game/machinery/computer/dna_console.dm b/code/game/machinery/computer/dna_console.dm index 8e1447285c..7e41d9cc9a 100644 --- a/code/game/machinery/computer/dna_console.dm +++ b/code/game/machinery/computer/dna_console.dm @@ -54,8 +54,8 @@ /obj/machinery/computer/scan_consolenew/Initialize() . = ..() - for(dir in list(NORTH,EAST,SOUTH,WEST)) - connected = locate(/obj/machinery/dna_scannernew, get_step(src, dir)) + for(var/direction in GLOB.cardinals) + connected = locate(/obj/machinery/dna_scannernew, get_step(src, direction)) if(!isnull(connected)) break injectorready = world.time + INJECTOR_TIMEOUT diff --git a/code/game/machinery/dna_scanner.dm b/code/game/machinery/dna_scanner.dm index 889fe42cf7..780b7ac1f2 100644 --- a/code/game/machinery/dna_scanner.dm +++ b/code/game/machinery/dna_scanner.dm @@ -84,8 +84,8 @@ open_machine() /obj/machinery/dna_scannernew/proc/locate_computer(type_) - for(dir in list(NORTH,EAST,SOUTH,WEST)) - var/C = locate(type_, get_step(src, dir)) + for(var/direction in GLOB.cardinals) + var/C = locate(type_, get_step(src, direction)) if(C) return C return null diff --git a/icons/obj/computer.dmi b/icons/obj/computer.dmi index c93441bb84..d4d9d01069 100644 Binary files a/icons/obj/computer.dmi and b/icons/obj/computer.dmi differ diff --git a/icons/obj/modular_console.dmi b/icons/obj/modular_console.dmi index fba8ad5943..d6a0411319 100644 Binary files a/icons/obj/modular_console.dmi and b/icons/obj/modular_console.dmi differ diff --git a/icons/obj/stock_parts.dmi b/icons/obj/stock_parts.dmi index 50f0ad3ef7..a2e09f2943 100644 Binary files a/icons/obj/stock_parts.dmi and b/icons/obj/stock_parts.dmi differ