diff --git a/crates/bevy_window/src/lib.rs b/crates/bevy_window/src/lib.rs index ee809cfce0059..417a11ddb9f1e 100644 --- a/crates/bevy_window/src/lib.rs +++ b/crates/bevy_window/src/lib.rs @@ -102,7 +102,7 @@ impl Plugin for WindowPlugin { } if self.close_when_requested { - app.add_system(close_when_requested.in_set(CoreSet::PostUpdate)); + app.add_system(close_when_requested.in_base_set(CoreSet::PostUpdate)); } // Register event types