Merge pull request #31302 from ninjanomnom/shuttle-rotation

Move shuttleRotate into the shuttle module
This commit is contained in:
oranges
2017-10-05 21:05:16 +13:00
committed by CitadelStationBot
parent e6830cfec3
commit cedb56af1b
11 changed files with 102 additions and 89 deletions
@@ -339,16 +339,6 @@
if(current_size >= STAGE_FIVE)
deconstruct()
//Fixes dpdir on shuttle rotation
/obj/structure/disposalpipe/shuttleRotate(rotation)
..()
var/new_dpdir = 0
for(var/D in GLOB.cardinals)
if(dpdir & D)
new_dpdir = new_dpdir | angle2dir(rotation+dir2angle(D))
dpdir = new_dpdir
// *** TEST verb
//client/verb/dispstop()
// for(var/obj/structure/disposalholder/H in world)