Changes the input list in VV add component to tgui_input_list() (#60755)

* Changes the input list in VV add component to tgui_input_list

* fuck

Co-authored-by: Thunder12345 <stewart@critar.demon.co.uk>
This commit is contained in:
Thunder12345
2021-08-20 10:45:03 +01:00
committed by GitHub
parent aa8fa522c5
commit aeec6932df
@@ -59,7 +59,7 @@
names += componentsubtypes
names += "---Elements---"
names += sortList(subtypesof(/datum/element), /proc/cmp_typepaths_asc)
var/result = input(usr, "Choose a component/element to add","better know what ur fuckin doin pal") as null|anything in names
var/result = tgui_input_list(usr, "Choose a component/element to add", "Add Component", names)
if(!usr || !result || result == "---Components---" || result == "---Elements---")
return
if(QDELETED(src))