mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-27 17:43:53 +01:00
noise.params_apply_default: Fix shadowing variable
This commit is contained in:
parent
1f4a115063
commit
51e1e7dcbd
@ -37,7 +37,7 @@ function worldeditadditions.noise.params_apply_default(params)
|
|||||||
local default_copy = wea.table.shallowcopy(params_default)
|
local default_copy = wea.table.shallowcopy(params_default)
|
||||||
|
|
||||||
-- Keyword support
|
-- Keyword support
|
||||||
for i, keyword in ipairs(wea.noise.engines.available) do
|
for _i, keyword in ipairs(wea.noise.engines.available) do
|
||||||
if params_el[keyword] ~= nil then
|
if params_el[keyword] ~= nil then
|
||||||
params_el.algorithm = keyword
|
params_el.algorithm = keyword
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user