multiplayer flying fix

This commit is contained in:
blert2112 2016-06-24 11:50:14 -04:00
parent 66414b0c9e
commit cc21918710

View File

@ -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)