mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
small fix
This commit is contained in:
parent
afd5eec6d0
commit
1c2fa2bba4
2 changed files with 3 additions and 3 deletions
|
|
@ -42,9 +42,9 @@ local function process_player_inputs(pid, delta)
|
|||
|
||||
if mob.is_flight() then
|
||||
if isjump then
|
||||
mob.move_vertical(speed * 8)
|
||||
mob.move_vertical(speed * 4)
|
||||
elseif iscrouch then
|
||||
mob.move_vertical(-speed * 8)
|
||||
mob.move_vertical(-speed * 4)
|
||||
end
|
||||
elseif body:is_grounded() and isjump then
|
||||
mob.jump()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue