fixes directionless ghosts having direction (#31405)

This commit is contained in:
Emmett Gaines
2017-10-08 02:36:51 -04:00
committed by CitadelStationBot
parent c222fa42f9
commit e5e8a807a2
+6
View File
@@ -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)