diff options
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/def.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/vm/def.lua b/script/vm/def.lua index b1bedc43..9bc6159b 100644 --- a/script/vm/def.lua +++ b/script/vm/def.lua @@ -69,6 +69,12 @@ function vm.getDefs(source) return end hasLocal = true + if source.type ~= 'local' + and source.type ~= 'getlocal' + and source.type ~= 'setlocal' + and source.type ~= 'doc.cast.name' then + return + end end if not mark[src] then mark[src] = true |