From e56d76650f51ea4d3cdf35c32412bb85ca557de1 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 17 Oct 2020 00:39:59 +0200 Subject: [PATCH] [MIRROR] Shuttle nav compuer docking cameras can no longer swap across z-levels. (#1343) * 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. * Shuttle nav compuer docking cameras can no longer swap across z-levels. Co-authored-by: Timberpoes --- 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 = ""