mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +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
|
||||
|
||||
|
||||
local success, stats = wea.apply_heightmap_changes(
|
||||
local stats
|
||||
success, stats = wea.apply_heightmap_changes(
|
||||
pos1, pos2,
|
||||
area, data,
|
||||
heightmap_old, heightmap_new,
|
||||
|
|
Loading…
Reference in a new issue