From 10b7ec5d299487ea0c7a46c278ba34612e5e2226 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 25 Jan 2024 12:06:49 +1100 Subject: [PATCH] Slight organ loss change (#24475) Both should be sufficient to avoid the bandaid bug but this one is more accurate. --- Content.Shared/Body/Systems/SharedBodySystem.Parts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Body/Systems/SharedBodySystem.Parts.cs b/Content.Shared/Body/Systems/SharedBodySystem.Parts.cs index 970eee6943..e07aac0622 100644 --- a/Content.Shared/Body/Systems/SharedBodySystem.Parts.cs +++ b/Content.Shared/Body/Systems/SharedBodySystem.Parts.cs @@ -172,7 +172,7 @@ public partial class SharedBodySystem if (!Resolve(parent, ref bodyComp, false)) return; - if (_timing.IsFirstTimePredicted && component.IsVital && !GetBodyChildrenOfType(parent, component.PartType, bodyComp).Any()) + if (!_timing.ApplyingState && component.IsVital && !GetBodyChildrenOfType(parent, component.PartType, bodyComp).Any()) { // TODO BODY SYSTEM KILL : remove this when wounding and required parts are implemented properly var damage = new DamageSpecifier(Prototypes.Index("Bloodloss"), 300);