From 87ffe2e8f5e81759a702b10f42f0176cbfbb4f4c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 23 Aug 2020 12:05:08 +0200 Subject: [PATCH] Set default node particle level to "none" --- mods/CORE/mcl_particles/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/CORE/mcl_particles/init.lua b/mods/CORE/mcl_particles/init.lua index 049ec36d..757c0452 100644 --- a/mods/CORE/mcl_particles/init.lua +++ b/mods/CORE/mcl_particles/init.lua @@ -6,7 +6,7 @@ mcl_particles = {} local particle_nodes = {} -- Node particles can be disabled via setting -local node_particles_allowed = minetest.settings:get("mcl_node_particles") or "medium" +local node_particles_allowed = minetest.settings:get("mcl_node_particles") or "none" local levels = { high = 3, @@ -17,14 +17,14 @@ local levels = { allowed_level = levels[node_particles_allowed] if not allowed_level then - allowed_level = levels["medium"] + allowed_level = levels["none"] end -- Add a particlespawner that is assigned to a given node position. -- * pos: Node positon. MUST use integer values! -- * particlespawner_definition: definition for minetest.add_particlespawner --- * level: detail level of particles. "high", "medium" or "low". High detail levels are for +-- * level: detail level of particles. "high", "medium", "low" or "none". High detail levels are for -- CPU-demanding particles, like smoke of fire (which occurs frequently) -- NOTE: All particlespawners are automatically removed on shutdown. -- Returns particlespawner ID on succcess and nil on failure