File Copying + Tech Support Buff (#9241)

This commit is contained in:
Geeves
2020-07-16 18:31:19 +02:00
committed by GitHub
parent bc3e8be558
commit 5300a20797
8 changed files with 61 additions and 11 deletions
@@ -27,8 +27,8 @@ var/global/file_uid = 0
return ..()
// Returns independent copy of this file.
/datum/computer_file/proc/clone(var/rename = FALSE)
var/datum/computer_file/temp = new type
/datum/computer_file/proc/clone(var/rename = FALSE, var/computer)
var/datum/computer_file/temp = new type(computer)
temp.unsendable = unsendable
temp.undeletable = undeletable
temp.size = size