mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixed Admin-PM again. Sorry. Note to others, BYOND can't sort associative lists.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3391 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -113,8 +113,8 @@
|
||||
targets["[T.mob.real_name](as [T.mob.name]) - [T]"] = T
|
||||
else
|
||||
targets["(No Mob) - [T]"] = T
|
||||
targets = sortList(targets)
|
||||
var/target = input(usr,"To whom shall we send a message?","Admin PM",null) in targets|null
|
||||
var/list/sorted = sortList(targets)
|
||||
var/target = input(usr,"To whom shall we send a message?","Admin PM",null) in sorted|null
|
||||
cmd_admin_pm(targets[target])
|
||||
|
||||
//takes input from cmd_admin_pm_context, cmd_admin_pm_panel or /client/Topic and sends them a PM after fetching a message to send.
|
||||
|
||||
Reference in New Issue
Block a user