Add cancel button to ahelp and asay popup (#42835)

This commit is contained in:
81Denton
2019-02-19 04:58:36 +01:00
committed by Tad Hardesty
parent 6cde20a572
commit 0195ce430f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
// Used for methods where input via arg doesn't work
/client/proc/get_adminhelp()
var/msg = input(src, "Please describe your problem concisely and an admin will help as soon as they're able.", "Adminhelp contents") as text
var/msg = input(src, "Please describe your problem concisely and an admin will help as soon as they're able.", "Adminhelp contents") as text|null
adminhelp(msg)
/client/verb/adminhelp(msg as text)
+1 -1
View File
@@ -18,5 +18,5 @@
SSblackbox.record_feedback("tally", "admin_verb", 1, "Asay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/get_admin_say()
var/msg = input(src, null, "asay \"text\"") as text
var/msg = input(src, null, "asay \"text\"") as text|null
cmd_admin_say(msg)