From b24672f83768b62a346010e49f2bb024f3d217d1 Mon Sep 17 00:00:00 2001 From: Burzah <116982774+Burzah@users.noreply.github.com> Date: Mon, 30 Dec 2024 07:41:53 -0700 Subject: [PATCH] Converts spawn_atom to use TGUI (#27767) * tgui debug spawn * Small nit --- code/modules/admin/misc_admin_procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm index afec64f2619..b3b3f1ac9f4 100644 --- a/code/modules/admin/misc_admin_procs.dm +++ b/code/modules/admin/misc_admin_procs.dm @@ -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