Skip to content

Commit 8684db1

Browse files
authored
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
1 parent a875139 commit 8684db1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_app/src/main_schedule.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ impl Default for MainScheduleOrder {
175175
labels: vec![
176176
First.intern(),
177177
PreUpdate.intern(),
178+
#[cfg(feature = "bevy_state")]
178179
StateTransition.intern(),
179180
RunFixedMainLoop.intern(),
180181
Update.intern(),

0 commit comments

Comments
 (0)