forked from mrkubax10/industrialtest
fix gravity
This commit is contained in:
parent
a4ba22b9ef
commit
3ca1604b52
@ -31,7 +31,7 @@ function industrialtest.JetpackBase.update(self, player, inv, itemstack, dtime)
|
||||
if movementGravity and movementGravity > 10 then
|
||||
reverseGravityForce = 2
|
||||
end
|
||||
self.addYVelocityClamped(player,1,10)
|
||||
self.addYVelocityClamped(player,reverseGravityForce,10)
|
||||
if not soundHandles[playerName] then
|
||||
local pos = player:get_pos()
|
||||
local handle = minetest.sound_play("industrialtest_jetpack_loop", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user