Fixes custom enemy communications

This commit is contained in:
Aurorablade
2015-11-30 01:25:12 -05:00
parent a915a5a0fb
commit 8b39fa3bb1
+2 -2
View File
@@ -537,11 +537,11 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_create_centcom_report()
set category = "Event"
set name = "Create Communications Report"
var/list/MsgType = list("Centcom Report","Enemy Communications")
if(!check_rights(R_SERVER|R_EVENT))
return
var/type = input(usr, "Pick a type of report to send", "Report Type", "") in list("Centcom Report","Enemy Communications")
var/type = input(usr, "Pick a type of report to send", "Report Type", "") as null|anything in MsgType
var/input = input(usr, "Please enter anything you want. Anything. Serious.", "What?", "") as message|null
var/customname = input(usr, "Pick a title for the report.", "Title") as text|null
if(!input)