Trouv / bevy_ecs_ldtk

ECS-friendly ldtk plugin for bevy, leveraging bevy_ecs_tilemap
Other
664 stars 75 forks source link

fix: do not spawn empty ECS entity for omitted worldly entities #122

Closed neocturne closed 1 year ago

neocturne commented 1 year ago

Skip the spawning of the entity and not only of the insertion of the components when an entity is found in the worldly_set. The empty entity doesn't seem to cause any issues, but it also doesn't do anything useful.

Trouv commented 1 year ago

Clippy issue seems to be unrelated, so I'll merge