From 6aea81f55c385ba167119a7faeca3a143eedc1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 21 Jun 2022 21:05:37 +0800 Subject: fix --- script/vm/runner.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/vm/runner.lua') diff --git a/script/vm/runner.lua b/script/vm/runner.lua index 3ee718b3..acf5427d 100644 --- a/script/vm/runner.lua +++ b/script/vm/runner.lua @@ -351,5 +351,6 @@ function vm.launchRunner(loc, callback) return end - self:_launchBlock(guide.getParentBlock(loc), vm.getNode(loc):copy()) + local topNode = self:_launchBlock(guide.getParentBlock(loc), vm.getNode(loc):copy()) + self:_fastWard(math.maxinteger, topNode) end -- cgit v1.2.3