]> git.lizzy.rs Git - hangglider.git/commitdiff
Update 'init.lua'
authorPiezo_ <orderofthefourthwall@gmail.com>
Sun, 25 Nov 2018 23:40:26 +0000 (23:40 +0000)
committerPiezo_ <orderofthefourthwall@gmail.com>
Sun, 25 Nov 2018 23:40:26 +0000 (23:40 +0000)
init.lua

index ca145a7fba2bec0040160d2d2a26645c3e3c11c4..f9dc126582552402d1b1995989895a31d8766ec8 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -217,7 +217,7 @@ minetest.register_tool("hangglider:hangglider", {
                        minetest.sound_play("bedsheet", {pos=pos, max_hear_distance = 8, gain = 1.0})
                        if HUD_Overlay then user:hud_change(hangglider.id[pname], "text", "glider_struts.png") end
                        local vel = user:get_player_velocity().y
-                       if vel < -2 then  -- engage mid-air, falling fast, so stop but ramp velocity more quickly
+                       if vel < -0.8 then  -- engage mid-air, falling fast, so stop but ramp velocity more quickly
                                hangglider.airbreak[pname] = true
                                user:set_physics_override({
                                        gravity = 1,