summaryrefslogtreecommitdiff
path: root/script/vm/visible.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/visible.lua')
-rw-r--r--script/vm/visible.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/visible.lua b/script/vm/visible.lua
index 485063f8..e550280f 100644
--- a/script/vm/visible.lua
+++ b/script/vm/visible.lua
@@ -76,7 +76,7 @@ end
---@return vm.global?
function vm.getDefinedClass(suri, source)
source = guide.getSelfNode(source) or source
- local sets = vm.getLocalSets(source)
+ local sets = vm.getVariableSets(source)
if sets then
for _, set in ipairs(sets) do
if set.bindDocs then