mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +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,
|
||||
|
||||
Reference in New Issue
Block a user