Skip to content

Remove unnecessary usages of WorldCell API #5109

@alice-i-cecile

Description

@alice-i-cecile

Per #3939, there are a number of places in the code base where WorldCell (used to get split mutable access to the World) is used but is not needed.

This leads to pointlessly panic-prone code that will be slower, harder to read and more blocking.

To complete this issue, extract and rebase the changes from #3939 (other than removing the WorldCell API).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-Code-QualityA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions