From 40f6fac8e070e572c5f10a66df1d7e790088452b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C4=81da?= Date: Sat, 5 Jul 2025 19:27:08 -0500 Subject: [PATCH] Fix incorrect conditions on black pepper's forced cough (#38783) no one to blame but myself Co-authored-by: iaada --- .../EntityEffects/EffectConditions/InternalsCondition.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.51.2