This commit is contained in:
Fermi
2019-09-19 15:41:26 +01:00
parent a398f64b66
commit b9a2a5ce38
4 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
//TODO: lung health affects lung function
/obj/item/organ/lungs/onDamage(damage_mod) //damage might be too low atm.
cached_damage = damage
var/cached_damage = damage
if (maxHealth == INFINITY)
return
if(cached_damage+damage_mod < 0)