Fixes #14173, file manager improvements

This commit is contained in:
Cyantime
2023-01-30 17:17:18 -05:00
parent 37dfa08e35
commit 4b7f1d6ca5
5 changed files with 94 additions and 47 deletions
@@ -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)