From 53396bea955f48ffbd12db83b21c7a81bccd4e34 Mon Sep 17 00:00:00 2001 From: joep van der velden Date: Mon, 28 Jan 2019 18:02:20 +0100 Subject: [PATCH] Fixes the virology problem --- code/modules/reagents/chemistry/holder.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/reagents/chemistry/holder.dm b/code/modules/reagents/chemistry/holder.dm index b04cbd9494f..fa2a8d71a9a 100644 --- a/code/modules/reagents/chemistry/holder.dm +++ b/code/modules/reagents/chemistry/holder.dm @@ -722,9 +722,10 @@ var/const/INGEST = 2 // that could possibly eat up a lot of memory needlessly // if most data lists are read-only. if(trans_data["viruses"]) - var/list/v = trans_data["viruses"] - trans_data["viruses"] = v.Copy() - + var/list/temp = list() + for(var/datum/disease/v in trans_data["viruses"]) + temp.Add(v.Copy()) + trans_data["viruses"] = temp return trans_data ///////////////////////////////////////////////////////////////////////////////////