diff options
Diffstat (limited to 'server-beta/src/parser/guide.lua')
-rw-r--r-- | server-beta/src/parser/guide.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/parser/guide.lua b/server-beta/src/parser/guide.lua index f0634025..0ca83489 100644 --- a/server-beta/src/parser/guide.lua +++ b/server-beta/src/parser/guide.lua @@ -109,7 +109,7 @@ function m.getParentFunction(obj) break end local tp = obj.type - if tp == 'function' then + if tp == 'function' or tp == 'main' then return obj end end |