From a2691e8f13458521d39430e76995ce27f53c79c2 Mon Sep 17 00:00:00 2001 From: Ghommie Date: Thu, 4 Jul 2019 21:13:03 +0200 Subject: [PATCH] Ports "Add cancel button to assault pod destination selector" --- code/modules/shuttle/assault_pod.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/shuttle/assault_pod.dm b/code/modules/shuttle/assault_pod.dm index 86132cf834..1258b9f4b8 100644 --- a/code/modules/shuttle/assault_pod.dm +++ b/code/modules/shuttle/assault_pod.dm @@ -35,7 +35,9 @@ /obj/item/assault_pod/attack_self(mob/living/user) var/target_area - target_area = input("Area to land", "Select a Landing Zone", target_area) in GLOB.teleportlocs + target_area = input("Area to land", "Select a Landing Zone", target_area) as null|anything in GLOB.teleportlocs + if(!target_area) + return var/area/picked_area = GLOB.teleportlocs[target_area] if(!src || QDELETED(src)) return