Fixes adjustBrainLoss

adjustBrainLoss() was giving damage to the brain organ and then setting it back to brainloss, undoing the change.
This commit is contained in:
mwerezak
2015-08-23 20:22:15 -04:00
parent d44921d767
commit 5bcede5801
2 changed files with 4 additions and 4 deletions
@@ -30,7 +30,6 @@
var/obj/item/organ/brain/sponge = internal_organs_by_name["brain"]
if(sponge)
sponge.take_damage(amount)
sponge.damage = min(max(brainloss, 0),(maxHealth*2))
brainloss = sponge.damage
else
brainloss = 200