mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +00:00
run2d: Fix accidental redefining global variable
This commit is contained in:
parent
51e1e7dcbd
commit
54d0f5a3a3
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ function worldeditadditions.noise.run2d(pos1, pos2, noise_params)
|
||||||
)
|
)
|
||||||
if not success then return success, message end
|
if not success then return success, message end
|
||||||
|
|
||||||
|
local stats
|
||||||
local success, stats = wea.apply_heightmap_changes(
|
success, stats = wea.apply_heightmap_changes(
|
||||||
pos1, pos2,
|
pos1, pos2,
|
||||||
area, data,
|
area, data,
|
||||||
heightmap_old, heightmap_new,
|
heightmap_old, heightmap_new,
|
||||||
|
|
Loading…
Reference in a new issue