From 44cfa46e9f201b684ed8931edadf49a2a949f17d Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Fri, 5 Nov 2021 19:21:15 +0100 Subject: [PATCH] bugfix --- logic/sequencer2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/sequencer2.lua b/logic/sequencer2.lua index 0b717c7..92d5791 100644 --- a/logic/sequencer2.lua +++ b/logic/sequencer2.lua @@ -95,7 +95,7 @@ local function compile(s, tRes) return exception(tRes, i, "Order error!") end start_idx = start_idx or idx - if old_idx ~= 0 and not tCode[old_idx].next_idx then + if old_idx ~= 0 and tCode[old_idx] and not tCode[old_idx].next_idx then tCode[old_idx].next_idx = idx end if cmnd1 == "send" then