From 005f45315b30635a3dcfc1f16edd1bc744ec94fd Mon Sep 17 00:00:00 2001 From: Timberpoes Date: Fri, 16 Oct 2020 18:42:17 +0100 Subject: [PATCH] Shuttle nav compuer docking cameras can no longer swap across z-levels. (#54348) Shuttle docking nav computers can pick locations across z-levels. This is most likely an oversight, as shuttles should only be able to dock using this console on their own z-level. Currently doesn't do anything bad as Icebox is the only map that supports this sort of multi-Z camera movement and has a distinct lack of pilotable shuttles, but patching this before it becomes an issue. --- code/modules/shuttle/navigation_computer.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/shuttle/navigation_computer.dm b/code/modules/shuttle/navigation_computer.dm index 62bf300f4cc..1b886de02a2 100644 --- a/code/modules/shuttle/navigation_computer.dm +++ b/code/modules/shuttle/navigation_computer.dm @@ -3,6 +3,11 @@ desc = "Used to designate a precise transit location for a spacecraft." jump_action = null should_supress_view_changes = FALSE + + // Docking cameras should only interact with their current z-level. + move_up_action = null + move_down_action = null + var/datum/action/innate/shuttledocker_rotate/rotate_action = new var/datum/action/innate/shuttledocker_place/place_action = new var/shuttleId = ""