Removing a possibly unnecessary table copy on remove_process

This commit is contained in:
Nathan Schneider 2022-01-05 23:28:15 +00:00
parent 81fcd9e3c1
commit bdf4d86593

View File

@ -25,7 +25,7 @@ function remove_process:initiate(result)
local available_processes = {}
for k,process in pairs(self.org.processes) do
if process ~= "deleted" then
available_processes[process.id] = modpol.util.copy_table(process)
available_processes[process.id] = process
end
end
local process_list = {}