Skip to content

Commit 2796030

Browse files
committed
Fix for ifdefed code
1 parent 8f0f2bf commit 2796030

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
@@ -610,7 +610,7 @@ public Entity Duplicate(Entity sourceEntity)
610610
#if EVENTS
611611
foreach (ref var type in archetype.Types)
612612
{
613-
OnComponentAdded(entity, type);
613+
OnComponentAdded(sourceEntity, type);
614614
}
615615
#endif
616616

0 commit comments

Comments
 (0)