From 8bb62a4abcedcd08ba4b7eaea6beb3cb36f6d413 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Sat, 28 Jan 2023 11:12:04 +0100 Subject: [PATCH] Fix the 'lpos1 (a nil value)' bug --- basis/fly_lib.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/basis/fly_lib.lua b/basis/fly_lib.lua index 61107d1..468f6c5 100644 --- a/basis/fly_lib.lua +++ b/basis/fly_lib.lua @@ -694,6 +694,7 @@ end -- Move nodes from lpos1 by the given x/y/z 'line' local function move_nodes2(pos, meta, lpos1, line, max_speed, height) local owner = meta:get_string("owner") + lpos1 = lpos1 or {} techage.counting_add(owner, #lpos1) local lpos2 = {}