From b0314f69c58fda8e4a68fb5a18511ad3e3c5a2e2 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Thu, 26 Jan 2023 20:52:54 +0000 Subject: [PATCH] Fix landing 1 pixel above the ground in purple night --- examples/the-purple-night/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/the-purple-night/src/lib.rs b/examples/the-purple-night/src/lib.rs index f513effc..21491cd7 100644 --- a/examples/the-purple-night/src/lib.rs +++ b/examples/the-purple-night/src/lib.rs @@ -580,7 +580,6 @@ impl<'a> Player<'a> { match self.state { PlayerState::OnGround => { - self.entity.velocity.y = 0.into(); self.entity.velocity.x = self.entity.velocity.x * 40 / 64; match &mut self.attack_timer {