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

* Changes the input list in VV add component to tgui_input_list

* fuck

Co-authored-by: Thunder12345 <stewart@critar.demon.co.uk>

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Thunder12345 <stewart@critar.demon.co.uk>
This commit is contained in:
SkyratBot
2021-08-20 18:53:35 +01:00
committed by GitHub
co-authored by Thunder12345 Thunder12345
parent ead76b9d36
commit b4e301d655
@@ -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))