Make weather PseudoRandom more random
This commit is contained in:
parent
d1fb64c3b4
commit
22733edae9
@ -17,7 +17,7 @@ local function addvec(v1, v2)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local mapseed = minetest.get_mapgen_setting("seed")
|
local mapseed = minetest.get_mapgen_setting("seed")
|
||||||
local weather_pr=PseudoRandom(mapseed + 2387)
|
local weather_pr = PseudoRandom(mapseed + 2387 + minetest.get_us_time())
|
||||||
|
|
||||||
local sound_min_height = -20 -- Below -20m you can't hear weather
|
local sound_min_height = -20 -- Below -20m you can't hear weather
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user