mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
TGUI fixes, part 3 (#16560)
* a * TGUI fixes part 3 * ugh * bwuh * ambiguous my ass * AOAOAOAO * pt 4 * extra foolproof * a * ok good thing i caught that * enable that for AI --------- Co-authored-by: Matt Atlas <liermattia@gmail.com> Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -78,13 +78,14 @@
|
||||
for(var/datum/computer_file/program/P in hard_drive.stored_files)
|
||||
if(P.program_hidden())
|
||||
continue
|
||||
data["programs"] += list(list(
|
||||
"filename" = P.filename,
|
||||
"desc" = P.filedesc,
|
||||
"autorun" = istype(autorun) && (autorun.stored_data == P.filename),
|
||||
"running" = (P in idle_threads)
|
||||
))
|
||||
if(P.program_type & PROGRAM_SERVICE)
|
||||
if(!istype(P, /datum/computer_file/program/scanner))
|
||||
data["programs"] += list(list(
|
||||
"filename" = P.filename,
|
||||
"desc" = P.filedesc,
|
||||
"autorun" = istype(autorun) && (autorun.stored_data == P.filename),
|
||||
"running" = (P in idle_threads)
|
||||
))
|
||||
else
|
||||
data["services"] += list(list(
|
||||
"filename" = P.filename,
|
||||
"desc" = P.filedesc,
|
||||
|
||||
@@ -143,11 +143,11 @@
|
||||
"focused" = (focused_conv == channel)
|
||||
)
|
||||
if(can_interact)
|
||||
our_channel["msg"] = channel.messages
|
||||
our_channel["users"] = list()
|
||||
for(var/datum/ntnet_user/U in channel.users)
|
||||
var/uref = text_ref(U)
|
||||
our_channel["users"] += list(list("ref" = uref, "username" = U.username))
|
||||
data["msg"] = channel.messages
|
||||
data["channels"] += list(our_channel)
|
||||
|
||||
data["users"] = list()
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"wtype" = W.wtype
|
||||
))
|
||||
data["allwarrants"] = allwarrants
|
||||
data["active_warrant"] = null
|
||||
return data
|
||||
|
||||
/datum/computer_file/program/digitalwarrant/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
|
||||
|
||||
Reference in New Issue
Block a user