diff --git a/crate/bevy_controls/src/plugin.rs b/crate/bevy_controls/src/plugin.rs index 2df95b1..770af9a 100644 --- a/crate/bevy_controls/src/plugin.rs +++ b/crate/bevy_controls/src/plugin.rs @@ -48,12 +48,6 @@ impl< continue 'bindings_loop; } } - BindingCondition::DuringPauseMenu(_value) => { - todo!(); - } - BindingCondition::ListeningForText(_value) => { - todo!(); - } } } @@ -118,7 +112,7 @@ impl< } } } else { - log::error!("You like [`Player`] is not in lobby") + log::error!("cannot find me in inputs container") } } } diff --git a/crate/bevy_controls/src/resource.rs b/crate/bevy_controls/src/resource.rs index b16d832..f3de8f3 100644 --- a/crate/bevy_controls/src/resource.rs +++ b/crate/bevy_controls/src/resource.rs @@ -272,10 +272,7 @@ common_traits_conditions! { /// During specific game state #[cfg_attr(feature = "serialize", serde(bound(deserialize = "")))] InGameState(Gs), - /// Binding is active only if player is in pause menu - DuringPauseMenu(bool), - /// Binding is active only if player types text - ListeningForText(bool), + // TODO: Custom condition that have a predicate that returns bool } /// Binding is a combination of buttons that triggers action