mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
[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:
co-authored by
Kyep
AffectedArc07
parent
fc128af66c
commit
36674f05f1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user