Converts spawn_atom to use TGUI (#27767)

* tgui debug spawn

* Small nit
This commit is contained in:
Burzah
2024-12-30 07:41:53 -07:00
committed by GitHub
parent 1ef4d825e5
commit b24672f837
+1 -1
View File
@@ -744,7 +744,7 @@ GLOBAL_VAR_INIT(disable_explosions, FALSE)
if(length(matches)==1)
chosen = matches[1]
else
chosen = input("Select an atom type", "Spawn Atom", matches[1]) as null|anything in matches
chosen = tgui_input_list(usr, "Select an Atom Type", "Spawn Atom", matches)
if(!chosen)
return