Ports "Add cancel button to assault pod destination selector"

This commit is contained in:
Ghommie
2019-07-04 21:13:03 +02:00
parent a814442fa5
commit a2691e8f13
+3 -1
View File
@@ -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