[MIRROR] NT Frontier can read files from data disks (#28355)

* NT Frontier can read files from data disks (#84189)

## About The Pull Request

Made the NT Frontier app look for valid experiment files not only on the
local file system, but also on the data disk.

## Why It's Good For The Game

Less clicks.

## Changelog

🆑
qol: NT Frontier app now allows to select experiments from inserted data
disks
/🆑

* NT Frontier can read files from data disks

---------

Co-authored-by: Andrew <mt.forspam@gmail.com>
This commit is contained in:
SkyratBot
2024-06-25 16:18:50 +05:30
committed by GitHub
co-authored by Andrew
parent f6687a76b6
commit 29e5ad2871
3 changed files with 11 additions and 5 deletions
@@ -962,6 +962,12 @@
update_appearance(UPDATE_ICON)
return TRUE
/// Get all stored files, including external disk files optionaly
/obj/item/modular_computer/proc/get_files(include_disk_files = FALSE)
if(!include_disk_files || !inserted_disk)
return stored_files
return stored_files + inserted_disk.stored_files
/**
* Debug ModPC
* Used to spawn all programs for Create and Destroy unit test.