silence log

This commit is contained in:
2025-03-27 12:11:43 +08:00
parent bb924c21ad
commit 1f6f4ed2ca

View File

@@ -140,10 +140,10 @@ fn update_grounded(
}); });
if is_grounded { if is_grounded {
info!("grounded"); debug!("grounded");
commands.entity(entity).insert(Grounded); commands.entity(entity).insert(Grounded);
} else { } else {
info!("not grounded"); debug!("not grounded");
commands.entity(entity).remove::<Grounded>(); commands.entity(entity).remove::<Grounded>();
} }
} }
@@ -208,7 +208,7 @@ fn movement(
if is_grounded && jump_requested && !*jump_used { if is_grounded && jump_requested && !*jump_used {
linear_velocity.y = jump_impulse.0; linear_velocity.y = jump_impulse.0;
info!("jump"); debug!("jump");
*jump_used = true; *jump_used = true;
} }