mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +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
|
targets["[T.mob.real_name](as [T.mob.name]) - [T]"] = T
|
||||||
else
|
else
|
||||||
targets["(No Mob) - [T]"] = T
|
targets["(No Mob) - [T]"] = T
|
||||||
targets = sortList(targets)
|
var/list/sorted = sortList(targets)
|
||||||
var/target = input(usr,"To whom shall we send a message?","Admin PM",null) in targets|null
|
var/target = input(usr,"To whom shall we send a message?","Admin PM",null) in sorted|null
|
||||||
cmd_admin_pm(targets[target])
|
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.
|
//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