module things, jfc
This commit is contained in:
@@ -106,11 +106,13 @@ If ever any of these procs are useful for non-shuttles, rename it to proc/rotate
|
||||
|
||||
/obj/machinery/door/airlock/shuttleRotate(rotation, params)
|
||||
. = ..()
|
||||
if(cyclelinkeddir)
|
||||
if(cyclelinkeddir && (params & ROTATE_DIR))
|
||||
cyclelinkeddir = angle2dir(rotation+dir2angle(cyclelinkeddir))
|
||||
cyclelinkairlock()
|
||||
// If we update the linked airlock here, the partner airlock might
|
||||
// not be present yet, so don't do that. Just assume we're still
|
||||
// partnered with the same airlock as before.
|
||||
|
||||
/obj/machinery/porta_turret/shuttleRotate(rotation, params)
|
||||
. = ..()
|
||||
if(wall_turret_direction && (params & ROTATE_DIR))
|
||||
wall_turret_direction = turn(wall_turret_direction,rotation)
|
||||
wall_turret_direction = turn(wall_turret_direction,rotation)
|
||||
Reference in New Issue
Block a user