Fix undeclared var warning in mcl_weather

This commit is contained in:
cora 2022-08-09 01:35:57 +02:00
parent 701aee3238
commit e8baa1ae00

View file

@ -2,6 +2,7 @@ local PARTICLES_COUNT_RAIN = tonumber(minetest.settings:get("mcl_weather_rain_pa
local PARTICLES_COUNT_THUNDER = tonumber(minetest.settings:get("mcl_weather_thunder_particles")) or 900 local PARTICLES_COUNT_THUNDER = tonumber(minetest.settings:get("mcl_weather_thunder_particles")) or 900
local get_connected_players = minetest.get_connected_players local get_connected_players = minetest.get_connected_players
local mgname = minetest.get_mapgen_setting("mg_name")
mcl_weather.rain = { mcl_weather.rain = {
-- max rain particles created at time -- max rain particles created at time