Closed tacotexmex closed 6 years ago
Use minetest.after
when it improves the readability of the code. Please see https://github.com/minetest-mods/item_drop/commit/e84433d41ccd4abec1795acbcebe2895bc5be380#commitcomment-29486594
Well did it? 🙂 (…improve the readability of the code?) ¯_(ツ)_/¯
Closing as the issue is accomplished.
Recently learned that the
minetest.after
function is less CPU intensive thanminetest.register_globalstep
.For optimization, the
minetest.after
approach should be implemented.(Am I doing it right, @sofar?)