Merge pull request #7497 from Shadow-Quill/AdminPM

Cancelling choosing someone to admin PM won't say "no mob"
This commit is contained in:
Atermonera
2020-08-20 19:20:36 -07:00
committed by VirgoBot
parent 1e26cc77b4
commit 45b1b77f42

View File

@@ -32,6 +32,8 @@
else
targets["(No Mob) - [T]"] = T
var/target = input(src,"To whom shall we send a message?","Admin PM",null) as null|anything in sortList(targets)
if(!target) //Admin canceled
return
cmd_admin_pm(targets[target],null)
feedback_add_details("admin_verb","Admin PM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!