mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
co-authored by
Josh
SpaceLoveSs13
parent
b05732dba1
commit
eca72f6c37
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user