Fixes the virology problem

This commit is contained in:
joep van der velden
2019-01-28 18:02:20 +01:00
parent 45fe99029f
commit 53396bea95
+4 -3
View File
@@ -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
///////////////////////////////////////////////////////////////////////////////////