code/modules/modular_computers/hardware/hard_drive.dm
/obj/item/stock_parts/computer/hard_drive | Important! Avoid editing the content of file objects already saved on a disk, as this bypasses checks for anything that might prevent saving. Instead, clone the file, make the changes to the clone, and attempt to save the clone with the same filename using save_file(). Additional useful procs for data files in particular are also available. |
---|