From 9108dbba42ae3faf943296e91f84e4976e04b5d8 Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Mon, 20 Jul 2015 10:41:04 -0700 Subject: [PATCH] Makes shuttle rotate Re-Smooth's atoms if need be. --- code/modules/shuttle/shuttle.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm index 600795a4f5a..17c57e80413 100644 --- a/code/modules/shuttle/shuttle.dm +++ b/code/modules/shuttle/shuttle.dm @@ -270,9 +270,14 @@ //default shuttleRotate /atom/proc/shuttleRotate(rotation) + //rotate our direction dir = angle2dir(rotation+dir2angle(dir)) - //we need to rotate the pixel offsets too. + //resmooth if need be. + if(A.smooth) + smooth_icon(A) + + //rotate the pixel offsets too. if (pixel_x || pixel_y) if (rotation < 0) rotation += 360