From a88c1caf3e5672c1803654542dc080f4434d7810 Mon Sep 17 00:00:00 2001 From: Henauxg <19689618+Henauxg@users.noreply.github.com> Date: Thu, 20 Mar 2025 13:12:39 +0100 Subject: [PATCH] docs: fix the references to a `ScheduleLabel` in `ExitCondition` --- crates/bevy_window/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_window/src/lib.rs b/crates/bevy_window/src/lib.rs index 851c8a681f8c7..f54a59a09b6b8 100644 --- a/crates/bevy_window/src/lib.rs +++ b/crates/bevy_window/src/lib.rs @@ -177,11 +177,11 @@ impl Plugin for WindowPlugin { pub enum ExitCondition { /// Close application when the primary window is closed /// - /// The plugin will add [`exit_on_primary_closed`] to [`Update`]. + /// The plugin will add [`exit_on_primary_closed`] to [`PostUpdate`]. OnPrimaryClosed, /// Close application when all windows are closed /// - /// The plugin will add [`exit_on_all_closed`] to [`Update`]. + /// The plugin will add [`exit_on_all_closed`] to [`PostUpdate`]. OnAllClosed, /// Keep application running headless even after closing all windows ///