Skip to content

Commit

Permalink
Not ref
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanrw committed Oct 16, 2024
1 parent 2796030 commit a4c5157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arch/Core/World.cs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public Entity Duplicate(Entity sourceEntity)

OnEntityCreated(sourceEntity);
#if EVENTS
foreach (ref var type in archetype.Types)
foreach (var type in archetype.Types)
{
OnComponentAdded(sourceEntity, type);
}
Expand Down

0 comments on commit a4c5157

Please sign in to comment.