cargo fmt

This commit is contained in:
timokoesters 2019-06-16 19:56:55 +02:00
parent f0e6e76423
commit eb10389eb6
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -98,10 +98,7 @@ impl<'a> System<'a> for Sys {
}
// Jump
if controller.jump
&& on_ground.is_some()
&& vel.0.z <= 0.0
{
if controller.jump && on_ground.is_some() && vel.0.z <= 0.0 {
jumpings.insert(entity, Jumping);
}