mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-21 14:04:06 +02: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)
|
||||
|
||||
-- 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 New Issue
Block a user