run2d: Fix accidental redefining global variable

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 19:48:10 +01:00
parent 51e1e7dcbd
commit 54d0f5a3a3
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 2 deletions

View File

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