3mcd/javelin

onAttach/onDetach triggers don't include entities added prior to first world tick

Closed this issue · 0 comments

3mcd commented

Triggers currently don't account for entities that were added prior to the first world tick. This should be simple to fix by iterating matching archetypes upon initialization rather than waiting for the world.attached and world.detached signals to fire.