summaryrefslogtreecommitdiff
path: root/server/src/core/vm.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-02 17:55:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-02 17:55:38 +0800
commit4a104e4103cb84c8a8dad05f732e774172e17c13 (patch)
tree716a5110fee1ba5edbe5cb920cf91311cb2c989d /server/src/core/vm.lua
parent716c7904e6fd22f31862dab87eec7451b36d437b (diff)
downloadlua-language-server-4a104e4103cb84c8a8dad05f732e774172e17c13.zip
修正一个报错
Diffstat (limited to 'server/src/core/vm.lua')
-rw-r--r--server/src/core/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/vm.lua b/server/src/core/vm.lua
index 6a0aa887..b490ccf9 100644
--- a/server/src/core/vm.lua
+++ b/server/src/core/vm.lua
@@ -1294,7 +1294,7 @@ end
function mt:doLoop(action)
- local min = self:getExp(action.min)
+ local min = self:unpackList(action.min)[1]
self:getExp(action.max)
if action.step then
self:getExp(action.step)