multiplayer flying fix
This commit is contained in:
parent
66414b0c9e
commit
cc21918710
1
init.lua
1
init.lua
@ -188,6 +188,7 @@ function lib_mount.drive(entity, dtime, moving_anim, stand_anim, can_fly)
|
||||
end
|
||||
if can_fly and can_fly == true and ctrl.jump then
|
||||
new_velo.y = new_velo.y + 0.75
|
||||
new_acce.y = new_acce.y + 1
|
||||
end
|
||||
entity.object:setvelocity(new_velo)
|
||||
entity.object:setacceleration(new_acce)
|
||||
|
Loading…
x
Reference in New Issue
Block a user