mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
More standard tgui input conversions (#63464)
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
if(mode)
|
||||
to_chat(user, span_notice("You turn on [src]."))
|
||||
//Now let them chose the text.
|
||||
var/str = reject_bad_text(tgui_input_text(user, "Label text", "Set Label", max_length = 64))
|
||||
var/str = reject_bad_text(tgui_input_text(user, "Label text", "Set Label", label, MAX_NAME_LEN))
|
||||
if(!str)
|
||||
to_chat(user, span_warning("Invalid text!"))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user