Lazylists some /mob and /living stuff (#52750)

* lazy

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: TiviPlus <TiviPlus>
Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
TiviPlus
2020-08-07 12:09:16 -03:00
committed by GitHub
co-authored by Rohesie TiviPlus <TiviPlus>
parent 923c0529eb
commit 8d72c64910
17 changed files with 36 additions and 34 deletions
+1 -1
View File
@@ -244,7 +244,7 @@
//keep viruses?
if (tr_flags & TR_KEEPVIRUS)
O.diseases = diseases
diseases = list()
diseases = null //null the old diseases, bye bye!
for(var/thing in O.diseases)
var/datum/disease/D = thing
D.affected_mob = O