mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Fixes the virology problem
This commit is contained in:
@@ -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
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user