mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user