summaryrefslogtreecommitdiff
path: root/script/vm/runner.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-21 21:05:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-21 21:05:37 +0800
commit6aea81f55c385ba167119a7faeca3a143eedc1ec (patch)
treec2073352b230abe3976ee9a3f406635d546087af /script/vm/runner.lua
parent317bced17780ebdeed67ed17590b7e2598b2b55a (diff)
downloadlua-language-server-6aea81f55c385ba167119a7faeca3a143eedc1ec.zip
fix
Diffstat (limited to 'script/vm/runner.lua')
-rw-r--r--script/vm/runner.lua3
1 files changed, 2 insertions, 1 deletions
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