mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Stasis bed/Operating Computers now consider diagonals for linking (#50443)
* stasis bed takes diagonals * op computers also account diagonals * optable initialize too
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user