summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-05-11 18:33:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-05-11 18:33:06 +0800
commit114cb74417f614fcdf46c7048b626a5f9a95126a (patch)
treef4f834ec360e95fdb70fbfd132e4af7ba4f13871 /script/vm
parent61f48f477482aac49a963e40aeea8042179bdc28 (diff)
downloadlua-language-server-114cb74417f614fcdf46c7048b626a5f9a95126a.zip
整理代码
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 78b62b27..e1b1b43b 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -873,7 +873,7 @@ local function compileCallArgNode(arg, call, callNode, fixIndex, myIndex)
---@type integer?, table<any, boolean>?
local eventIndex, eventMap
if call.args then
- for i = 1, 2 do
+ for i = 1, 10 do
local eventArg = call.args[i + fixIndex]
if not eventArg then
break