mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +01:00
Fixed bracket in ambience_modpack
This commit is contained in:
parent
1bab0c5b74
commit
a44287826e
|
@ -756,7 +756,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
-- end
|
-- end
|
||||||
if ambience.on_start ~= nil and played_on_start == false then
|
if ambience.on_start ~= nil and played_on_start == false then
|
||||||
played_on_start = true
|
played_on_start = true
|
||||||
minetest.sound_play(ambience.on_start, {to_player=player:get_player_name(),gain=0.5*soundset.get_gain(player:get_player_name(), "ambience"))
|
minetest.sound_play(ambience.on_start, {to_player=player:get_player_name(),gain=0.5*soundset.get_gain(player:get_player_name(), "ambience"})
|
||||||
end
|
end
|
||||||
-- minetest.chat_send_all("ambience: " ..ambience )
|
-- minetest.chat_send_all("ambience: " ..ambience )
|
||||||
-- if ambience.on_start ~= nil and played_on_start_flying == false then
|
-- if ambience.on_start ~= nil and played_on_start_flying == false then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user