summaryrefslogtreecommitdiff
path: root/script/vm/getDocs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/getDocs.lua')
-rw-r--r--script/vm/getDocs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua
index 3a0765bf..544c1f60 100644
--- a/script/vm/getDocs.lua
+++ b/script/vm/getDocs.lua
@@ -153,7 +153,7 @@ local function isDeprecated(value)
return true
elseif doc.type == 'doc.version' then
local valids = vm.getValidVersions(doc)
- if not valids[config.get 'Lua.runtime.version'] then
+ if not valids[config.get(nil, 'Lua.runtime.version')] then
value._deprecated = true
return true
end