From e9a3a0d694e04e5090a2c03ff312e654733434a7 Mon Sep 17 00:00:00 2001 From: Vitaliy Sapronenko Date: Sun, 9 Jun 2024 16:49:03 +0300 Subject: [PATCH] Clear messed up feature flag on AppExitStates impl (#13737) # Objective - In #13649 additional method had been added to AppExitStates, but there feature gate left for method in implementation for App at refactoring stage. - Fixes #13733 . ## Solution - Removed the feature gate. ## Testing - Ran reproducing example from #13733 with no compilation errors --- crates/bevy_state/src/app.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/bevy_state/src/app.rs b/crates/bevy_state/src/app.rs index 2ff97f6ee5..955c957ede 100644 --- a/crates/bevy_state/src/app.rs +++ b/crates/bevy_state/src/app.rs @@ -177,7 +177,6 @@ impl AppExtStates for App { self } - #[cfg(feature = "bevy_hierarchy")] fn enable_state_scoped_entities(&mut self) -> &mut Self { self.main_mut().enable_state_scoped_entities::(); self