Fixes Mentor asay (#15246)

* Mentor asay fix

* msay too

Thanks to AA for actually having a brain
This commit is contained in:
SabreML
2021-01-07 11:16:06 +00:00
committed by GitHub
parent e331b28b08
commit 2e122f3635
+6 -2
View File
@@ -26,8 +26,12 @@
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|null
cmd_admin_say(msg)
if(check_rights(R_ADMIN))
var/msg = input(src, null, "asay \"text\"") as text|null
cmd_admin_say(msg)
else if(check_rights(R_MENTOR))
var/msg = input(src, null, "msay \"text\"") as text|null
cmd_mentor_say(msg)
/client/proc/cmd_mentor_say(msg as text)
set category = "Admin"