summaryrefslogtreecommitdiff
path: root/server/src/vm/vm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/vm.lua')
-rw-r--r--server/src/vm/vm.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index a8834806..9e685138 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -98,6 +98,10 @@ function mt:runFunction(func)
return
end
+ if func:needSkip() then
+ return
+ end
+
-- 暂时使用这种方式激活参数的source
for _, arg in ipairs(func.args) do
if arg.source ~= func:getObject() then