silence log
This commit is contained in:
@@ -140,10 +140,10 @@ fn update_grounded(
|
||||
});
|
||||
|
||||
if is_grounded {
|
||||
info!("grounded");
|
||||
debug!("grounded");
|
||||
commands.entity(entity).insert(Grounded);
|
||||
} else {
|
||||
info!("not grounded");
|
||||
debug!("not grounded");
|
||||
commands.entity(entity).remove::<Grounded>();
|
||||
}
|
||||
}
|
||||
@@ -208,7 +208,7 @@ fn movement(
|
||||
|
||||
if is_grounded && jump_requested && !*jump_used {
|
||||
linear_velocity.y = jump_impulse.0;
|
||||
info!("jump");
|
||||
debug!("jump");
|
||||
*jump_used = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user