Proper mirror PR for the disease refactor because I fucked up the first one. (#2026)
* Revert "im a dumbass and didn't see the .rej files Revert "[MIRROR] Disease Refactor" (#2025)"
This reverts commit 44742cb115.
* Delete shuttle_loan.dm.rej
* Delete life.dm.rej
* Update life.dm
* Delete life.dm.rej
* compile
This commit is contained in:
@@ -65,9 +65,9 @@
|
||||
if (tr_flags & TR_KEEPVIRUS)
|
||||
O.viruses = viruses
|
||||
viruses = list()
|
||||
for(var/datum/disease/D in O.viruses)
|
||||
for(var/thing in O.viruses)
|
||||
var/datum/disease/D = thing
|
||||
D.affected_mob = O
|
||||
D.holder = O
|
||||
|
||||
//keep damage?
|
||||
if (tr_flags & TR_KEEPDAMAGE)
|
||||
@@ -219,9 +219,9 @@
|
||||
if (tr_flags & TR_KEEPVIRUS)
|
||||
O.viruses = viruses
|
||||
viruses = list()
|
||||
for(var/datum/disease/D in O.viruses)
|
||||
for(var/thing in O.viruses)
|
||||
var/datum/disease/D = thing
|
||||
D.affected_mob = O
|
||||
D.holder = O
|
||||
O.med_hud_set_status()
|
||||
|
||||
//keep damage?
|
||||
|
||||
Reference in New Issue
Block a user