mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Replace list inputs with tgui_input_list
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
for(var/obj/item/weapon/computer_hardware/H in all_components)
|
||||
component_names.Add(H.name)
|
||||
|
||||
var/choice = input(usr, "Which component do you want to uninstall?", "Computer maintenance", null) as null|anything in component_names
|
||||
var/choice = tgui_input_list(usr, "Which component do you want to uninstall?", "Computer maintenance", component_names)
|
||||
|
||||
if(!choice)
|
||||
return
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
pixel_y = 0
|
||||
to_chat(user, "You unsecure \the [src].")
|
||||
else
|
||||
var/choice = input(user, "Where do you want to place \the [src]?", "Offset selection") in list("North", "South", "West", "East", "This tile", "Cancel")
|
||||
var/choice = tgui_input_list(user, "Where do you want to place \the [src]?", "Offset selection", list("North", "South", "West", "East", "This tile", "Cancel"))
|
||||
var/valid = FALSE
|
||||
switch(choice)
|
||||
if("North")
|
||||
|
||||
Reference in New Issue
Block a user