diff --git a/expcore/async.lua b/expcore/async.lua index 21ae7080..a988563b 100644 --- a/expcore/async.lua +++ b/expcore/async.lua @@ -36,7 +36,7 @@ local Async = {} local internal_run = Token.register(function(params) local func = Token.get(params.token) - func(unpack(params.params)) + return func(unpack(params.params)) end) --- Register a new async function, must called when the file is loaded