Use PostCleanup naming

This commit is contained in:
Alice Cecile 2024-08-15 14:18:00 -04:00 committed by GitHub
parent 6c72d2b4bd
commit 898f01fb38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,7 +140,7 @@ pub enum RenderSet {
/// Final cleanup occurs: all entities will be despawned.
///
/// Runs after [`Cleanup`](RenderSet::Cleanup).
FinalCleanup,
PostCleanup,
}
/// The main render schedule.
@ -473,7 +473,7 @@ unsafe fn initialize_render_app(app: &mut App) {
render_system,
)
.in_set(RenderSet::Render),
World::clear_entities.in_set(RenderSet::FinalCleanup),
World::clear_entities.in_set(RenderSet::PostCleanup),
),
);