We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54456b7 commit 13cac2eCopy full SHA for 13cac2e
crates/bevy_ecs/src/schedule/condition.rs
@@ -752,7 +752,7 @@ pub mod common_conditions {
752
move |current_state: Option<Res<State<S>>>| match current_state {
753
Some(current_state) => *current_state == state,
754
None => {
755
- warn_once!("No state matching the type for {} exists - did you forget to `add_state` when initializing the app?", {
+ warn_once!("No state matching the type for {} exists - did you forget to `init_state` when initializing the app?", {
756
let debug_state = format!("{state:?}");
757
let result = debug_state
758
.split("::")
0 commit comments