chore: somethink minor

This commit is contained in:
2024-01-27 22:25:36 +01:00
parent e79a630463
commit ed98651cfc
2 changed files with 2 additions and 11 deletions
+1 -7
View File
@@ -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")
}
}
}
+1 -4
View File
@@ -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