[MIRROR] remove old inputs (#10038)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-01 18:22:56 -07:00
committed by GitHub
parent f3ebea3af1
commit 965f8f4a61
101 changed files with 302 additions and 282 deletions

View File

@@ -26,7 +26,7 @@
if(user.stat == DEAD || !(ishuman(user) || isrobot(user)))
to_chat(user, span_warning("You can't cook!"))
return
var/n_name = sanitizeSafe(input(user, "What would you like to name \the [src]? Leave blank to reset.", "Food Naming", null) as text, MAX_NAME_LEN)
var/n_name = sanitizeSafe(tgui_input_text(user, "What would you like to name \the [src]? Leave blank to reset.", "Food Naming", initial(name), MAX_NAME_LEN))
if(!n_name)
n_name = initial(name)

View File

@@ -4269,7 +4269,7 @@
if( src.open )
return
var/t = sanitize(input(user, "Enter what you want to add to the tag:", "Write", null, null) as text, 30)
var/t = sanitize(tgui_input_text(user, "Enter what you want to add to the tag:", "Write", "", 30))
var/obj/item/pizzabox/boxtotagto = src
if( boxes.len > 0 )