mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 12:33:45 +01:00
Profiler: Fix var args not being passed to callback register function
Fixes #6517
This commit is contained in:
parent
0129c9a9dd
commit
cc48c95ca7
@ -133,7 +133,7 @@ local function instrument_register(func, func_name)
|
|||||||
return func(instrument {
|
return func(instrument {
|
||||||
func = callback,
|
func = callback,
|
||||||
func_name = register_name
|
func_name = register_name
|
||||||
}), ...
|
}, ...)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user