From 22733edae9616eecc28c642e33e735bf0dcc0ca2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 9 Oct 2022 01:23:42 +0200 Subject: [PATCH] Make weather PseudoRandom more random --- mods/rp_weather/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/rp_weather/init.lua b/mods/rp_weather/init.lua index 8b42f5f6..3c590b72 100644 --- a/mods/rp_weather/init.lua +++ b/mods/rp_weather/init.lua @@ -17,7 +17,7 @@ local function addvec(v1, v2) end 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