Skip to content

Commit

Permalink
Set proper callback origin to globalstep_func
Browse files Browse the repository at this point in the history
  • Loading branch information
zmv7 authored Aug 13, 2024
1 parent d52eac5 commit 6107fd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mesecons/actionqueue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6107fd1

Please sign in to comment.