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

View file

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