diff --git a/mods/testing/init.lua b/mods/testing/init.lua index b80e3222..b98934e5 100644 --- a/mods/testing/init.lua +++ b/mods/testing/init.lua @@ -1 +1,3 @@ -print("hi") +minetest.register_globalstep(function(delta) + print(delta) +end) diff --git a/mods/testing/init.tl b/mods/testing/init.tl index 3e598792..9d235047 100644 --- a/mods/testing/init.tl +++ b/mods/testing/init.tl @@ -1 +1,3 @@ -minetest.register_globalstep() \ No newline at end of file +minetest.register_globalstep(function(delta: number) + print(delta) +end) \ No newline at end of file