Fix the 'lpos1 (a nil value)' bug
This commit is contained in:
parent
9a03cd86d2
commit
8bb62a4abc
@ -694,6 +694,7 @@ end
|
|||||||
-- Move nodes from lpos1 by the given x/y/z 'line'
|
-- Move nodes from lpos1 by the given x/y/z 'line'
|
||||||
local function move_nodes2(pos, meta, lpos1, line, max_speed, height)
|
local function move_nodes2(pos, meta, lpos1, line, max_speed, height)
|
||||||
local owner = meta:get_string("owner")
|
local owner = meta:get_string("owner")
|
||||||
|
lpos1 = lpos1 or {}
|
||||||
techage.counting_add(owner, #lpos1)
|
techage.counting_add(owner, #lpos1)
|
||||||
|
|
||||||
local lpos2 = {}
|
local lpos2 = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user