Fix being gibbed when commiting suicide or ghosting while crit'd

This commit is contained in:
Vera Aguilera Puerto
2021-01-10 20:52:11 +01:00
parent 12c733654c
commit 2a5fda5198
3 changed files with 5 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ namespace Content.Server.GameTicking
if (playerEntity.TryGetComponent(out IDamageableComponent? damageable))
{
//todo: what if they dont breathe lol
damageable.ChangeDamage(DamageType.Asphyxiation, 100, true);
damageable.SetDamage(DamageType.Asphyxiation, 200, playerEntity);
}
}
else