Fixes broken shuttle and escape pod rotation (#16154)

* Fixes shuttle rotation

* Apply AA suggestions

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
S34N
2021-06-13 18:08:15 +01:00
committed by GitHub
parent 91c3d1750d
commit 18f47d2ef3
3 changed files with 7 additions and 7 deletions
+3
View File
@@ -56,6 +56,9 @@ If ever any of these procs are useful for non-shuttles, rename it to proc/rotate
d2 = temp
update_icon()
/obj/structure/shuttle/engine/shuttleRotate(rotation, params)
setDir(angle2dir(rotation+dir2angle(dir)))
//Fixes dpdir on shuttle rotation
/obj/structure/disposalpipe/shuttleRotate(rotation, params)
. = ..()