1
0
mirror of https://github.com/mt-mods/led_marquee.git synced 2025-07-18 08:10:30 +02:00

1 Commits

Author SHA1 Message Date
b081594e2c Add loading message to action log 2020-07-23 16:01:08 +02:00

View File

@ -360,7 +360,7 @@ local on_digiline_receive_string = function(pos, node, channel, msg)
led_marquee.set_timer(pos, 0)
return
elseif string.sub(msg, 1, 12) == "scroll_speed" then
local timeout = tonumber(string.sub(msg, 13)) or 0
local timeout = tonumber(string.sub(msg, 13))
led_marquee.set_timer(pos, math.max(timeout, led_marquee.message_minimum_time))
elseif string.sub(msg, 1, 11) == "scroll_step" then
local skip = tonumber(string.sub(msg, 12))
@ -474,3 +474,4 @@ minetest.register_craft({
},
})
minetest.log("action", "[led_marquee] loaded.")