[MIRROR] Centcom fax (#28973)

* Centcom fax

* Update topic.dm

---------

Co-authored-by: Josh <josh.adam.powell@gmail.com>
Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-07-22 09:53:06 -04:00
committed by GitHub
co-authored by Josh SpaceLoveSs13
parent b05732dba1
commit eca72f6c37
4 changed files with 14 additions and 4 deletions
+9
View File
@@ -1764,6 +1764,15 @@
if(!paper_to_show)
return
paper_to_show.ui_interact(usr)
else if (href_list["print_fax"])
if(!check_rights(R_ADMIN))
return
for(var/obj/machinery/fax/FAX as anything in SSmachines.get_machines_by_type_and_subtypes(/obj/machinery/fax))
if(!is_centcom_level(FAX.z))
continue
FAX.receive(locate(href_list["print_fax"]), href_list["fax_name"])
// SKYRAT EDIT ADDITION START
else if(href_list["pass_opfor_candidate"])
if(!check_rights(R_ADMIN))