mirror of
https://github.com/mt-mods/led_marquee.git
synced 2024-11-30 19:13:47 +01:00
add "clear" as more readable an alternate to "off_multi"
This commit is contained in:
parent
244b5011a1
commit
57d4c99eb8
2
init.lua
2
init.lua
@ -189,7 +189,7 @@ local on_digiline_receive_string = function(pos, node, channel, msg)
|
||||
minetest.swap_node(pos, { name = "led_marquee:char_144", param2 = fdir + (last_color*8)})
|
||||
elseif msg == "cursor" then
|
||||
minetest.swap_node(pos, { name = "led_marquee:char_31", param2 = fdir + (last_color*8)})
|
||||
elseif msg == "off_multi" then
|
||||
elseif msg == "off_multi" or msg == "clear" then
|
||||
msg = string.rep(" ", 1024)
|
||||
meta:set_string("last_msg", msg)
|
||||
led_marquee.display_msg(pos, channel, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user