diff options
Diffstat (limited to 'server-beta/src')
-rw-r--r-- | server-beta/src/searcher/eachField.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server-beta/src/searcher/eachField.lua b/server-beta/src/searcher/eachField.lua index 401378b7..b25ce1a1 100644 --- a/server-beta/src/searcher/eachField.lua +++ b/server-beta/src/searcher/eachField.lua @@ -153,6 +153,10 @@ function searcher.eachField(source, callback) cache[#cache+1] = info end) unlock() + searcher.eachRef(source, function (info) + local src = info.source + searcher.cache.eachField[src] = cache + end) for i = 1, #cache do callback(cache[i]) end |