mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-03-31 22:02:45 +02:00
run2d: Fix accidental redefining global variable
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user