summaryrefslogtreecommitdiff
path: root/script-beta/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/parser/guide.lua')
-rw-r--r--script-beta/parser/guide.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index f52e9545..9e9b085c 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -1194,7 +1194,8 @@ function m.status(parentStatus, interface)
deep = parentStatus and parentStatus.deep,
results = {},
}
- if status.depth >= 5 then
+ local searchDepth = interface and interface.searchDepth or 0
+ if status.depth >= searchDepth then
status.deep = false
end
status.lock = status.locks[status.depth] or {}