Merge pull request #8820 from Ghommie/Ghommie-cit104
Ports "Add cancel button to assault pod destination selector"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user