summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-07-24 17:12:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-07-24 17:12:32 +0800
commitf858d17e613ba80d855156a796158ba3568ceb18 (patch)
tree4855aa5cdecb729098c04dd76e4e9b798a8b886b /script-beta
parent978ec2f92894077a1655b1579b7aa069cb59faa3 (diff)
downloadlua-language-server-f858d17e613ba80d855156a796158ba3568ceb18.zip
更新guide
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/parser/guide.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index 33617d88..9ea0a60f 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -909,14 +909,9 @@ function m.status(parentStatus, interface)
lock = parentStatus and parentStatus.lock or {},
results = {},
}
- --if parentStatus then
- -- for obj in pairs(parentStatus.lock) do
- -- status.lock[obj] = true
- -- end
- --end
if interface then
for k, v in pairs(interface) do
- status.interface[k] = v
+ status.interface[k] = interface[k] or v
end
end
return status