[TGUI] Minor Fixes/Tweaks To Various Machines (#15365)

* comms computer fixes/refactor

* card computer tweaks

* IDcomputer: colorize departments in list

* faxmachine: aghosts no longer see log out when not logged in

* Fixes #14591

Co-authored-by: Kyep <Kyep@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
Kyep
2021-01-28 19:06:18 +00:00
committed by GitHub
co-authored by Kyep AffectedArc07
parent fc128af66c
commit 36674f05f1
8 changed files with 95 additions and 79 deletions
+2
View File
@@ -104,7 +104,9 @@ GLOBAL_LIST_EMPTY(fax_blacklist)
/obj/machinery/photocopier/faxmachine/ui_data(mob/user)
var/list/data = list()
data["authenticated"] = is_authenticated(user)
data["realauth"] = authenticated
data["scan_name"] = scan ? scan.name : FALSE
data["nologin"] = !data["scan_name"] && !data["realauth"]
if(!data["authenticated"])
data["network"] = "Disconnected"
else if(!emagged)