mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fixes Mentor asay (#15246)
* Mentor asay fix * msay too Thanks to AA for actually having a brain
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user