forked from Mineclonia/Mineclonia
fix sound never stopping
This commit is contained in:
parent
8f619ab5c3
commit
2ed3e01179
|
@ -163,9 +163,7 @@ function mcl_weather.stop_weather_player(name,def)
|
||||||
local player=minetest.get_player_by_name(name)
|
local player=minetest.get_player_by_name(name)
|
||||||
player:set_clouds({color="#FFF0F0E5"})
|
player:set_clouds({color="#FFF0F0E5"})
|
||||||
end
|
end
|
||||||
if def.sound then
|
mcl_weather.remove_sound(name,def.sound)
|
||||||
mcl_weather.remove_sound(name,def.sound)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function mcl_weather.start_weather(def)
|
function mcl_weather.start_weather(def)
|
||||||
|
|
Loading…
Reference in New Issue