mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] remove old inputs (#10038)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f3ebea3af1
commit
965f8f4a61
@@ -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)
|
||||
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user