summaryrefslogtreecommitdiff
path: root/server/src/vm/vm.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-13 21:29:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-13 21:29:26 +0800
commit1294d2c7919d24b698aed6fa3ad780fd9d0af4f3 (patch)
tree0314fd77fe24e0a8c3292a7ddbb6baf3c3df2fb5 /server/src/vm/vm.lua
parent1555bc03fc69e82fdcc24a7c0c08401ba4d71580 (diff)
downloadlua-language-server-1294d2c7919d24b698aed6fa3ad780fd9d0af4f3.zip
修正 repeat 没有激活的bug
Diffstat (limited to 'server/src/vm/vm.lua')
-rw-r--r--server/src/vm/vm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index ce4ca020..9ec2bccd 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -949,6 +949,7 @@ function mt:doWhile(action)
end
function mt:doRepeat(action)
+ self:instantSource(action)
self:scopePush(action)
self:doActions(action)
self:getExp(action.filter)