From 35f68b05508889db90eade456d11f5a7a770c027 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 21 Sep 2025 13:27:38 -0500 Subject: [PATCH] Fix crash on 5.14+ (#5) Co-authored-by: cheapie --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6715278..ce179e0 100644 --- a/init.lua +++ b/init.lua @@ -153,7 +153,7 @@ led_marquee.set_timer = function(pos, timeout) end led_marquee.scroll_text = function(pos, elapsed, skip) - skip = skip or 1 + if type(skip) ~= "number" then skip = 1 end local meta = minetest.get_meta(pos) local msg = meta:get_string("last_msg") local channel = meta:get_string("channel")