mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
TGUI input box conversions 1 (#63313)
This commit is contained in:
@@ -691,7 +691,7 @@ GLOBAL_PROTECT(admin_verbs_hideable)
|
||||
set category = "Admin.Events"
|
||||
set name = "OSay"
|
||||
set desc = "Makes an object say something."
|
||||
var/message = input(usr, "What do you want the message to be?", "Make Sound") as text | null
|
||||
var/message = tgui_input_text(usr, "What do you want the message to be?", "Make Sound", encode = FALSE)
|
||||
if(!message)
|
||||
return
|
||||
O.say(message, sanitize = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user