Skip to content

Commit

Permalink
Clear messed up feature flag on AppExitStates impl (bevyengine#13737)
Browse files Browse the repository at this point in the history
# Objective

- In bevyengine#13649 additional method had been added to AppExitStates, but there
feature gate left for method in implementation for App at refactoring
stage.
- Fixes bevyengine#13733 .

## Solution

- Removed the feature gate.

## Testing

- Ran reproducing example from bevyengine#13733 with no compilation errors
  • Loading branch information
bugsweeper authored Jun 9, 2024
1 parent 7b14b8c commit e9a3a0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/bevy_state/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9a3a0d

Please sign in to comment.