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
This commit is contained in:
Vitaliy Sapronenko 2024-06-09 16:49:03 +03:00 committed by GitHub
parent 7b14b8c015
commit e9a3a0d694
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,7 +177,6 @@ impl AppExtStates for App {
self
}
#[cfg(feature = "bevy_hierarchy")]
fn enable_state_scoped_entities<S: States>(&mut self) -> &mut Self {
self.main_mut().enable_state_scoped_entities::<S>();
self