Skip to content

Commit

Permalink
fix fix commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeZer2 committed Feb 22, 2025
1 parent db890e0 commit b1d2f55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ private void OnPacifiedDangerousAttack(Entity<PacifismDangerousAttackComponent>
//ss220 add clone pacified comp to clone entity start
private void OnCloning(Entity<PacifiedComponent> ent, ref CloningEvent args)
{
RemComp<PacifiedComponent>(args.Target);
var newComp = EnsureComp<PacifiedComponent>(args.Target);
_serialization.CopyTo(ent.Comp, ref newComp, notNullableOverride: true);
}
Expand Down

0 comments on commit b1d2f55

Please sign in to comment.