mirror of
https://github.com/mt-mods/hangglider.git
synced 2025-07-07 02:40:41 +02:00
oops
This commit is contained in:
committed by
GitHub
parent
10d082c3bb
commit
dcabbd6a5e
2
init.lua
2
init.lua
@ -190,7 +190,7 @@ local function hangglider_use(stack, player)
|
|||||||
local pos = player:get_pos()
|
local pos = player:get_pos()
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if not hanggliding_players[name] then
|
if not hanggliding_players[name] then
|
||||||
if not hangglider.allowed_to_fly(pos, name, false)
|
if not hangglider.allowed_to_fly(pos, name, false) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
minetest.sound_play("hanggliger_equip", {pos = pos, max_hear_distance = 8, gain = 1.0}, true)
|
minetest.sound_play("hanggliger_equip", {pos = pos, max_hear_distance = 8, gain = 1.0}, true)
|
||||||
|
Reference in New Issue
Block a user