Fix incorrect conditions on black pepper's forced cough (#38783)
no one to blame but myself Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user