Skip to content

Commit

Permalink
fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirus59 committed Dec 23, 2024
1 parent 10abbfc commit 0ddb604
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public sealed partial class HasComponentsCondition : EntityEffectCondition

public override bool Condition(EntityEffectBaseArgs args)
{
var condition = true;
if (Components.Length == 0)
return condition;
return true;

var condition = RequireAll;
var factory = IoCManager.Resolve<IComponentFactory>();
foreach (var component in Components)
{
Expand Down

0 comments on commit 0ddb604

Please sign in to comment.