mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] TGUI list input conversions [MDB IGNORE] (#9996)
* 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> * TGUI list input conversions Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> 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:
co-authored by
tralezab
Sealed101
Jeremiah
parent
fb031dcaa8
commit
d604846209
@@ -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