Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
genaray committed Jul 24, 2024
1 parent b0a6c02 commit 22fd4fe
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 @@ -1397,7 +1397,7 @@ public void AddRange(Entity entity, Span<ComponentType> components)
Move(entity, oldArchetype, newArchetype, out _);

#if EVENTS
for (var i = 0; i < components.Count; i++)
for (var i = 0; i < components.Length; i++)
{
OnComponentAdded(entity, components[i]);
}
Expand Down

0 comments on commit 22fd4fe

Please sign in to comment.