TGUI list input conversions (#63315)

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Sealed101 <75863639+Sealed101@users.noreply.github.com>
This commit is contained in:
Jeremiah
2021-12-10 02:20:01 -08:00
committed by GitHub
parent 78cc356987
commit 60922e7cfc
30 changed files with 49 additions and 46 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
/obj/item/assault_pod/attack_self(mob/living/user)
var/target_area
target_area = input("Area to land", "Select a Landing Zone", target_area) as null|anything in GLOB.teleportlocs
target_area = tgui_input_list(user, "Area to land", "Landing Zone", GLOB.teleportlocs)
if(!target_area)
return
var/area/picked_area = GLOB.teleportlocs[target_area]