From e5e8a807a26ac05b5f8f9c49d56b544c790bfc7d Mon Sep 17 00:00:00 2001 From: Emmett Gaines Date: Sun, 8 Oct 2017 02:36:51 -0400 Subject: [PATCH] fixes directionless ghosts having direction (#31405) --- code/modules/shuttle/shuttle_rotate.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/shuttle/shuttle_rotate.dm b/code/modules/shuttle/shuttle_rotate.dm index 389a2406ed..5368ef0a73 100644 --- a/code/modules/shuttle/shuttle_rotate.dm +++ b/code/modules/shuttle/shuttle_rotate.dm @@ -1,5 +1,7 @@ /* All shuttleRotate procs go here + +If ever any of these procs are useful for non-shuttles, rename it to proc/rotate and move it to be a generic atom proc */ /************************************Base proc************************************/ @@ -34,6 +36,10 @@ All shuttleRotate procs go here /mob/shuttleRotate(rotation) setDir(angle2dir(rotation+dir2angle(dir))) +/mob/dead/observer/shuttleRotate(rotation) + . = ..() + update_icon() + /************************************Structure rotate procs************************************/ /obj/structure/door_assembly/door_assembly_pod/shuttleRotate(rotation)