aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2017-10-14 18:28:56 +0100
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commitcc48c95ca7abe6949e637ca537a3e75a2de2fac4 (patch)
treee933cea13720967442af73eca6597670c1e957c5
parent0129c9a9dd149f4e5efaed1879c1c3058cbc4d70 (diff)
downloadminetest-cc48c95ca7abe6949e637ca537a3e75a2de2fac4.tar.gz
minetest-cc48c95ca7abe6949e637ca537a3e75a2de2fac4.tar.bz2
minetest-cc48c95ca7abe6949e637ca537a3e75a2de2fac4.zip
Profiler: Fix var args not being passed to callback register function
Fixes #6517
-rw-r--r--builtin/profiler/instrumentation.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/profiler/instrumentation.lua b/builtin/profiler/instrumentation.lua
index be3a460e5..7c21859d3 100644
--- a/builtin/profiler/instrumentation.lua
+++ b/builtin/profiler/instrumentation.lua
@@ -133,7 +133,7 @@ local function instrument_register(func, func_name)
return func(instrument {
func = callback,
func_name = register_name
- }), ...
+ }, ...)
end
end