From 2287f9df11ad101f617dbbf00e5ddbece8e6084d Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 1 Jan 2023 16:58:00 +1100 Subject: [PATCH] Fix bloodstream nullref exception (#13243) Fixes https://github.com/space-wizards/space-station-14/issues/13018 --- Content.Server/Body/Components/BloodstreamComponent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Body/Components/BloodstreamComponent.cs b/Content.Server/Body/Components/BloodstreamComponent.cs index 2b7f8cfef0..11c02d86cd 100644 --- a/Content.Server/Body/Components/BloodstreamComponent.cs +++ b/Content.Server/Body/Components/BloodstreamComponent.cs @@ -53,13 +53,13 @@ namespace Content.Server.Body.Components /// The base bloodloss damage to be incurred if below /// [DataField("bloodlossDamage", required: true)] - public DamageSpecifier BloodlossDamage = default!; + public DamageSpecifier BloodlossDamage = new(); /// /// The base bloodloss damage to be healed if above /// [DataField("bloodlossHealDamage", required: true)] - public DamageSpecifier BloodlossHealDamage = default!; + public DamageSpecifier BloodlossHealDamage = new(); /// /// How frequently should this bloodstream update, in seconds?