diff options
Diffstat (limited to 'script-beta/parser')
-rw-r--r-- | script-beta/parser/guide.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index 2e06c7ee..7a4f643c 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -1987,13 +1987,17 @@ function m.searchSameFields(status, simple, mode) start = 1, } end - for i = 1, 999 do + local i = 0 + local see = 0 + while see <= 999 do + i = i + 1 local data = queue[i] if not data then return end if not status.lock[data.obj] then status.lock[data.obj] = true + see = see + 1 status.cache.count = status.cache.count + 1 m.checkSameSimple(status, simple, data, mode, status.results, queue) end |