removing patch file, changing jump check for CheckPressed instead of CheckDown
This commit is contained in:
parent
8bad3894dc
commit
4f6d0890e3
|
@ -91,8 +91,8 @@ function Player:Smart()
|
|||
self.move_x = self.moveSpeed
|
||||
end
|
||||
|
||||
-- jump if on ground (coyotevalue) or if on wall (wallHit)
|
||||
if Keybind:CheckDown(Keybind.move.jump) then
|
||||
-- jump if on ground (coyotevalue) or if 0
|
||||
if Keybind:CheckPressed(Keybind.move.jump) then
|
||||
if self.coyoteValue > 0 then
|
||||
self.vel.y = -self.jumpImpulse
|
||||
self.coyoteValue = 0
|
||||
|
|
Loading…
Reference in New Issue