summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher/searcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/searcher/searcher.lua')
-rw-r--r--server-beta/src/searcher/searcher.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-beta/src/searcher/searcher.lua b/server-beta/src/searcher/searcher.lua
index d09e3428..361243fc 100644
--- a/server-beta/src/searcher/searcher.lua
+++ b/server-beta/src/searcher/searcher.lua
@@ -24,9 +24,9 @@ function m.lock(tp, source)
return nil
end
m.locked[tp][source] = true
- return util.defer(function ()
+ return function ()
m.locked[tp][source] = nil
- end)
+ end
end
--- 获取特殊对象的名字