From b4ebe7d4af02c9d4df5e3f194df808aee6e1acac Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Sun, 5 Nov 2023 13:34:47 -0500 Subject: [PATCH] hnng --- mods/testing/init.lua | 4 +++- mods/testing/init.tl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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