summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/vm/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index 7deadf4a..0f0de9fe 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -392,7 +392,7 @@ function mt:setName(name, source, value)
source:bindValue(value, 'set')
ENVValue:setChild(name, value, source)
source:set('global', true)
- source:set('parentValue', ENVValue)
+ source:set('parent', ENVValue)
if self.lsp then
self.lsp.global:markSet(self:getUri())
end