summaryrefslogtreecommitdiff
path: root/script/core/noder.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-11 19:32:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-11 19:32:31 +0800
commitd587d5c381c9cf8c59fb6aa0caf26fc7288ed550 (patch)
treec81c50e5b078d179027c5d6166d2e3e3efde584f /script/core/noder.lua
parent4df0ae57a2486d1f8e3329e244aedfddeacafc12 (diff)
downloadlua-language-server-d587d5c381c9cf8c59fb6aa0caf26fc7288ed550.zip
fix
Diffstat (limited to 'script/core/noder.lua')
-rw-r--r--script/core/noder.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index 1e62ed2e..d68cc3ba 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -528,6 +528,9 @@ function m.compileNode(noders, source)
end
end
if source.type == 'call' then
+ if not id then
+ return
+ end
local node = source.node
local nodeID = getID(node)
if not nodeID then