From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:06:49 +0000 (+1100) Subject: Slight organ loss change (#24475) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=10b7ec5d299487ea0c7a46c278ba34612e5e2226;p=space-station-14.git Slight organ loss change (#24475) Both should be sufficient to avoid the bandaid bug but this one is more accurate. --- 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);