From 6107fd1f664216c2a25ca40c517a784c3a4214a7 Mon Sep 17 00:00:00 2001 From: Zemtzov7 <72821250+zmv7@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:18:11 +0500 Subject: [PATCH] Set proper callback origin to globalstep_func --- mesecons/actionqueue.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mesecons/actionqueue.lua b/mesecons/actionqueue.lua index 72b464df..0fc27ec4 100644 --- a/mesecons/actionqueue.lua +++ b/mesecons/actionqueue.lua @@ -127,6 +127,10 @@ do end -- replace this globalstep function minetest.registered_globalsteps[globalstep_func_index] = globalstep_func + minetest.callback_origins[globalstep_func] = { + mod = minetest.get_current_modname() or "mesecons", + name = "register_globalstep" + } end) end