Fix bloodstream nullref exception (#13243)

Fixes https://github.com/space-wizards/space-station-14/issues/13018
This commit is contained in:
metalgearsloth
2023-01-01 16:58:00 +11:00
committed by GitHub
parent 6687fe7fdd
commit 2287f9df11

View File

@@ -53,13 +53,13 @@ namespace Content.Server.Body.Components
/// The base bloodloss damage to be incurred if below <see cref="BloodlossThreshold"/>
/// </summary>
[DataField("bloodlossDamage", required: true)]
public DamageSpecifier BloodlossDamage = default!;
public DamageSpecifier BloodlossDamage = new();
/// <summary>
/// The base bloodloss damage to be healed if above <see cref="BloodlossThreshold"/>
/// </summary>
[DataField("bloodlossHealDamage", required: true)]
public DamageSpecifier BloodlossHealDamage = default!;
public DamageSpecifier BloodlossHealDamage = new();
/// <summary>
/// How frequently should this bloodstream update, in seconds?