+CCIAA bugs

Fixes the following:
* CCIA Agent access on CC
* CCIAAs can now see faxes
* Sent faxes are saved properly
* "Send New Fax" hyperlink works, from the check-fax-history menu
This commit is contained in:
skull132
2016-02-10 00:54:15 +02:00
parent 0f0c477d68
commit 71e475cac9
4 changed files with 19 additions and 8 deletions
+8 -2
View File
@@ -1413,9 +1413,15 @@
return
else if(href_list["CentcommFaxReply"])
var/obj/machinery/photocopier/faxmachine/fax = locate(href_list["CentcommFaxReply"])
create_admin_fax(fax.department)
var/department = null
if (href_list["faxMachine"])
var/obj/machinery/photocopier/faxmachine/fax = locate(href_list["faxMachine"])
department = fax.department
else
department = input("Choose the target department.", "Target Department", null) in alldepartments
create_admin_fax(department)
return