From: āda Date: Sun, 6 Jul 2025 00:27:08 +0000 (-0500) Subject: Fix incorrect conditions on black pepper's forced cough (#38783) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=40f6fac8e070e572c5f10a66df1d7e790088452b;p=space-station-14.git Fix incorrect conditions on black pepper's forced cough (#38783) no one to blame but myself Co-authored-by: iaada --- diff --git a/Content.Shared/EntityEffects/EffectConditions/InternalsCondition.cs b/Content.Shared/EntityEffects/EffectConditions/InternalsCondition.cs index 31294bc21f..cb30ef70c7 100644 --- a/Content.Shared/EntityEffects/EffectConditions/InternalsCondition.cs +++ b/Content.Shared/EntityEffects/EffectConditions/InternalsCondition.cs @@ -19,7 +19,7 @@ public sealed partial class Internals : EntityEffectCondition if (!args.EntityManager.TryGetComponent(args.TargetEntity, out InternalsComponent? internalsComp)) return !UsingInternals; // They have no internals to wear. - var internalsState = internalsComp.GasTankEntity == null; + var internalsState = internalsComp.GasTankEntity != null; // If gas tank is not null, they are wearing internals return UsingInternals == internalsState; }