From a3596d22e38b1de0aa5f29ae2fe4dda669897caf Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 16 Jul 2022 21:24:45 +0200 Subject: [PATCH] Fix nether dust particles using wrong setting --- mods/ENVIRONMENT/mcl_weather/nether_dust.lua | 2 +- mods/ENVIRONMENT/mcl_weather/snow.lua | 2 +- settingtypes.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ENVIRONMENT/mcl_weather/nether_dust.lua b/mods/ENVIRONMENT/mcl_weather/nether_dust.lua index 2a90b2215..023c8b20d 100644 --- a/mods/ENVIRONMENT/mcl_weather/nether_dust.lua +++ b/mods/ENVIRONMENT/mcl_weather/nether_dust.lua @@ -1,7 +1,7 @@ mcl_weather.nether_dust = {} mcl_weather.nether_dust.particlespawners = {} -local PARTICLES_COUNT_NETHER_DUST = tonumber(minetest.settings:get("mcl_weather_rain_particles")) or 150 +local PARTICLES_COUNT_NETHER_DUST = tonumber(minetest.settings:get("mcl_weather_dust_particles")) or 150 local psdef= { amount = PARTICLES_COUNT_NETHER_DUST, diff --git a/mods/ENVIRONMENT/mcl_weather/snow.lua b/mods/ENVIRONMENT/mcl_weather/snow.lua index f169620dd..fc9526d63 100644 --- a/mods/ENVIRONMENT/mcl_weather/snow.lua +++ b/mods/ENVIRONMENT/mcl_weather/snow.lua @@ -2,7 +2,7 @@ local get_connected_players = minetest.get_connected_players mcl_weather.snow = {} -local PARTICLES_COUNT_SNOW = tonumber(minetest.settings:get("mcl_weather_snow_particles")) or 99 +local PARTICLES_COUNT_SNOW = tonumber(minetest.settings:get("mcl_weather_snow_particles")) or 100 mcl_weather.snow.init_done = false local psdef= { diff --git a/settingtypes.txt b/settingtypes.txt index b35e5c7f0..35db8bde7 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -30,7 +30,7 @@ mcl_weather_thunder_particles (Thunderstorm rain particles) int 900 0 mcl_weather_snow_particles (Snow particles) int 100 0 # Amount of nether dust particles. You can reduce this to get better FPS (default: 150) -mcl_weather_snow_particles (Nether dust particles) int 150 0 +mcl_weather_dust_particles (Nether dust particles) int 150 0 # If enabled, breaking blocks will cause them to drop as item. # Note that blocks never have drops when in Creative Mode.