diff options
Diffstat (limited to 'server-beta/src/parser/guide.lua')
-rw-r--r-- | server-beta/src/parser/guide.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server-beta/src/parser/guide.lua b/server-beta/src/parser/guide.lua index 952fa3c6..f4fd387c 100644 --- a/server-beta/src/parser/guide.lua +++ b/server-beta/src/parser/guide.lua @@ -320,6 +320,9 @@ function m.eachSourceType(ast, type, callback) end mark[source] = true local tp = source.type + if not tp then + return + end local myCache = cache[tp] if not myCache then myCache = {} |