diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-07 10:19:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-07 10:19:24 +0800 |
commit | de63af45054e742806f6f4cc78e2819b12c364e6 (patch) | |
tree | 5551e1b50f8ed12f32dc9b72bcbb028990d7cede /server/src/core | |
parent | a55bc60e412ac97ca90d4dc4f13c15f58b0a6cdb (diff) | |
download | lua-language-server-de63af45054e742806f6f4cc78e2819b12c364e6.zip |
跳过动作
Diffstat (limited to 'server/src/core')
-rw-r--r-- | server/src/core/vm.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/core/vm.lua b/server/src/core/vm.lua index 36a8f21b..a17727d6 100644 --- a/server/src/core/vm.lua +++ b/server/src/core/vm.lua @@ -1383,6 +1383,10 @@ function mt:doLocalFunction(action) end function mt:doAction(action) + if not action then + -- Skip + return + end local tp = action.type if tp == 'do' then self:doDo(action) |