Fixes #14173, other modular computer file manager improvements

This commit is contained in:
Heroman3003
2023-02-05 13:56:38 +10:00
committed by CHOMPStation2
parent fb1b9498ad
commit 71da50bf43
4 changed files with 86 additions and 46 deletions

View File

@@ -291,4 +291,10 @@
if(autorun.stored_data == program)
autorun.stored_data = null
else
autorun.stored_data = program
autorun.stored_data = program
/obj/item/modular_computer/proc/find_file_by_uid(var/uid)
if(hard_drive)
. = hard_drive.find_file_by_uid(uid)
if(portable_drive && !.)
. = portable_drive.find_file_by_uid(uid)