Fix bevy_app not compiling without default features (#13532)

# Objective

Fix #13530 (just realized creating an issue was unnecessary since it's a
super simple fix)

## Solution

Add a cfg feature attribute

## Testing

Compiles fine now
This commit is contained in:
Christian Hughes D 2024-05-27 14:22:03 -07:00 committed by GitHub
parent a8751390aa
commit 8684db139a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,6 +175,7 @@ impl Default for MainScheduleOrder {
labels: vec![
First.intern(),
PreUpdate.intern(),
#[cfg(feature = "bevy_state")]
StateTransition.intern(),
RunFixedMainLoop.intern(),
Update.intern(),