mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-02-17 08:33:42 +01:00
noise.params_apply_default: Fix shadowing variable
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user