Skip to content

Commit

Permalink
Fix for ifdefed code
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanrw committed Oct 16, 2024
1 parent 8f0f2bf commit 2796030
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 @@ -610,7 +610,7 @@ public Entity Duplicate(Entity sourceEntity)
#if EVENTS
foreach (ref var type in archetype.Types)

Check failure on line 611 in src/Arch/Core/World.cs

View workflow job for this annotation

GitHub Actions / Build Arch

A ref or out value must be an assignable variable

Check failure on line 611 in src/Arch/Core/World.cs

View workflow job for this annotation

GitHub Actions / Build Arch

A ref or out value must be an assignable variable

Check failure on line 611 in src/Arch/Core/World.cs

View workflow job for this annotation

GitHub Actions / Build Arch

A ref or out value must be an assignable variable
{
OnComponentAdded(entity, type);
OnComponentAdded(sourceEntity, type);
}
#endif

Expand Down

0 comments on commit 2796030

Please sign in to comment.