From 9ece43116d0fd2f19237c2e127f0dcc16c9c77e5 Mon Sep 17 00:00:00 2001 From: Emmett Gaines Date: Mon, 25 Dec 2017 20:15:54 -0500 Subject: [PATCH] Makes cyclelinkeddir rotate with shuttle --- code/modules/shuttle/shuttle_rotate.dm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/code/modules/shuttle/shuttle_rotate.dm b/code/modules/shuttle/shuttle_rotate.dm index 49c7396dba..bd86f84356 100644 --- a/code/modules/shuttle/shuttle_rotate.dm +++ b/code/modules/shuttle/shuttle_rotate.dm @@ -104,4 +104,14 @@ If ever any of these procs are useful for non-shuttles, rename it to proc/rotate //prevents shuttles attempting to rotate this since it messes up sprites /obj/machinery/gravity_generator/shuttleRotate(rotation, params) params = NONE - return ..() \ No newline at end of file +<<<<<<< HEAD + return ..() +======= + return ..() + +/obj/machinery/door/airlock/shuttleRotate(rotation, params) + . = ..() + if(cyclelinkeddir) + cyclelinkeddir = angle2dir(rotation+dir2angle(cyclelinkeddir)) + cyclelinkairlock() +>>>>>>> 6da0107... Makes cyclelinkeddir rotate with shuttle (#33734)