diff options
author | Piezo_ <orderofthefourthwall@gmail.com> | 2018-11-25 23:40:26 +0000 |
---|---|---|
committer | Piezo_ <orderofthefourthwall@gmail.com> | 2018-11-25 23:40:26 +0000 |
commit | cc2cbd49738e84bc809c6ddd1657b665b32107db (patch) | |
tree | 6aa380612e0f7dd51b66f7af3973284cee558878 | |
parent | 9e73a0b12bc156d4160834725c37c20dbd27ce50 (diff) | |
download | hangglider-cc2cbd49738e84bc809c6ddd1657b665b32107db.tar.gz hangglider-cc2cbd49738e84bc809c6ddd1657b665b32107db.tar.bz2 hangglider-cc2cbd49738e84bc809c6ddd1657b665b32107db.zip |
Update 'init.lua'
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |