Merge pull request #11115 from Ghommie/Ghommie-cit583

Something more about runtime errors.
This commit is contained in:
kevinz000
2020-02-19 19:03:01 -07:00
committed by GitHub
10 changed files with 30 additions and 22 deletions
@@ -890,8 +890,8 @@ datum/status_effect/stabilized/blue/on_remove()
healing_types += TOX
if(owner.getCloneLoss() > 0)
healing_types += CLONE
owner.apply_damage_type(-heal_amount, damagetype=pick(healing_types))
if(length(healing_types))
owner.apply_damage_type(-heal_amount, damagetype=pick(healing_types))
owner.nutrition += 3
M.adjustCloneLoss(heal_amount * 1.2) //This way, two people can't just convert each other's damage away.
else