diff options
author | Piezo_ <orderofthefourthwall@gmail.com> | 2018-12-28 17:50:57 -0800 |
---|---|---|
committer | Piezo_ <orderofthefourthwall@gmail.com> | 2018-12-28 17:50:57 -0800 |
commit | c88921a81d49f5c8e236829056063ee1bf9a029b (patch) | |
tree | 408a48e64bf6bac191ae62713a6f019e72441e11 | |
parent | 43a734a57b0d2149e874de9c3d23331d8978b648 (diff) | |
download | hangglider-c88921a81d49f5c8e236829056063ee1bf9a029b.tar.gz hangglider-c88921a81d49f5c8e236829056063ee1bf9a029b.tar.bz2 hangglider-c88921a81d49f5c8e236829056063ee1bf9a029b.zip |
glider can now be opened anywhere; git push
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -219,7 +219,7 @@ minetest.register_tool("hangglider:hangglider", { end local pos = player:get_pos() local pname = player:get_player_name() - if minetest.get_node(pos).name == "air" and not hangglider.use[pname] then --Equip + if not hangglider.use[pname] then --Equip minetest.sound_play("bedsheet", {pos=pos, max_hear_distance = 8, gain = 1.0}) if HUD_Overlay then player:hud_change(hangglider.id[pname], "text", "glider_struts.png") end local airbreak = false |