This commit is contained in:
lustlion
2022-02-26 21:19:54 +01:00
parent e9754dc1dd
commit 8bad3894dc
3 changed files with 150 additions and 61 deletions

View File

@@ -91,7 +91,7 @@ function Player:Smart()
self.move_x = self.moveSpeed
end
-- jump if on ground (coyotevalue)
-- jump if on ground (coyotevalue) or if on wall (wallHit)
if Keybind:CheckDown(Keybind.move.jump) then
if self.coyoteValue > 0 then
self.vel.y = -self.jumpImpulse