Skip to content

Commit a4c5157

Browse files
committed
Not ref
1 parent 2796030 commit a4c5157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arch/Core/World.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ public Entity Duplicate(Entity sourceEntity)
608608

609609
OnEntityCreated(sourceEntity);
610610
#if EVENTS
611-
foreach (ref var type in archetype.Types)
611+
foreach (var type in archetype.Types)
612612
{
613613
OnComponentAdded(sourceEntity, type);
614614
}

0 commit comments

Comments
 (0)