Merge pull request #8820 from Ghommie/Ghommie-cit104

Ports "Add cancel button to assault pod destination selector"
This commit is contained in:
deathride58
2019-07-08 17:54:08 -04:00
committed by GitHub
+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