mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user