mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
restore player 0.28 controls
This commit is contained in:
parent
dde8c674b8
commit
5f2c0f69ce
3 changed files with 11 additions and 8 deletions
|
|
@ -49,9 +49,9 @@ local function process_player_inputs(pid, rot, delta)
|
|||
|
||||
if mob.is_flight() then
|
||||
if isjump then
|
||||
mob.move_vertical(speed * 3)
|
||||
mob.move_vertical(speed / 4.0)
|
||||
elseif iscrouch then
|
||||
mob.move_vertical(-speed * 3)
|
||||
mob.move_vertical(-speed / 4.0)
|
||||
end
|
||||
elseif body:is_grounded() and isjump then
|
||||
mob.jump()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue