From 0422608832d81136e26ebffefa148ff09a34e3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Sep 2020 17:24:21 +0800 Subject: =?UTF-8?q?=E6=95=B4=E7=90=86=E4=B8=80=E4=B8=8B=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/parser/guide.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'script-beta') diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index bdb4dcd0..ec353083 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -1464,11 +1464,10 @@ function m.checkSameSimpleAsTableField(status, ref, start, queue) end function m.checkSearchLevel(status) - -- TODO 限制向前搜索的次数 - do return false end status.cache.back = status.cache.back or 0 if status.cache.back >= (status.interface.searchLevel or 0) then - return true + -- TODO 限制向前搜索的次数 + --return true end status.cache.back = status.cache.back + 1 return false -- cgit v1.2.3