diff options
Diffstat (limited to 'script-beta/vm/getDocs.lua')
-rw-r--r-- | script-beta/vm/getDocs.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/script-beta/vm/getDocs.lua b/script-beta/vm/getDocs.lua index b1641cec..3fb0dfc0 100644 --- a/script-beta/vm/getDocs.lua +++ b/script-beta/vm/getDocs.lua @@ -87,10 +87,8 @@ function vm.getDocEnums(doc, mark, results) for _, enum in ipairs(doc.enums) do results[#results+1] = enum end - if doc.resumes then - for _, resume in ipairs(doc.resumes) do - results[#results+1] = resume - end + for _, resume in ipairs(doc.resumes) do + results[#results+1] = resume end for _, unit in ipairs(doc.types) do if unit.type == 'doc.type.name' then |