mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #7497 from Shadow-Quill/AdminPM
Cancelling choosing someone to admin PM won't say "no mob"
This commit is contained in:
@@ -32,6 +32,8 @@
|
|||||||
else
|
else
|
||||||
targets["(No Mob) - [T]"] = T
|
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)
|
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)
|
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!
|
feedback_add_details("admin_verb","Admin PM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user