forked from Mineclonia/Mineclonia
add more rain particles during thunder
This commit is contained in:
parent
22c49ea605
commit
9db099fe6d
|
@ -92,6 +92,7 @@ mcl_weather.rain.add_rain_particlespawner = function(name,def)
|
||||||
end
|
end
|
||||||
local name=player:get_player_name()
|
local name=player:get_player_name()
|
||||||
if mcl_weather.is_outdoor(player:get_pos()) then
|
if mcl_weather.is_outdoor(player:get_pos()) then
|
||||||
|
if mcl_weather.state ~= "thunder" then def.amount=PARTICLES_COUNT_THUNDER end
|
||||||
def.player = name
|
def.player = name
|
||||||
def.attached = player
|
def.attached = player
|
||||||
mcl_weather.rain.ps[name] = minetest.add_particlespawner(def)
|
mcl_weather.rain.ps[name] = minetest.add_particlespawner(def)
|
||||||
|
|
Loading…
Reference in New Issue