mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 00:53:00 +00:00
noise.params_apply_default: Fix shadowing variable
This commit is contained in:
parent
1f4a115063
commit
51e1e7dcbd
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function worldeditadditions.noise.params_apply_default(params)
|
|||
local default_copy = wea.table.shallowcopy(params_default)
|
||||
|
||||
-- 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
|
||||
params_el.algorithm = keyword
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue