ignore (almost) stationary targets, they're probably ground-bound

This commit is contained in:
AviiNL
2023-12-28 12:40:27 +01:00
parent a11402e763
commit f0f0d0c550
6 changed files with 33 additions and 10 deletions

View File

@@ -118,10 +118,7 @@ unsafe impl<T: Command> SystemParam for ConsoleCommand<T> {
let clap_command = T::command().no_binary_name(true);
let arg_matches = clap_command.try_get_matches_from(command.args.iter());
debug!(
"Trying to parse as `{}`. Result: {arg_matches:?}",
command.command_name
);
debug!("Trying to parse as `{}`.", command.command_name);
match arg_matches {
Ok(matches) => match T::from_arg_matches(&matches) {