noise.params_apply_default: Fix shadowing variable

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 19:47:21 +01:00
parent 1f4a115063
commit 51e1e7dcbd
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -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