1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-06-28 06:12:00 +02:00

Fix a few assignments to undeclared globals

This commit is contained in:
sfan5
2017-11-07 14:19:57 +01:00
parent 7b1deb1b61
commit 415000e797
2 changed files with 8 additions and 2 deletions

View File

@ -301,7 +301,7 @@ function worldedit.stack(pos1, pos2, axis, count)
local amount = 0
local copy = worldedit.copy
local i = 1
function next_one()
local function next_one()
if i <= count then
i = i + 1
amount = amount + length