Compare commits
2 Commits
efb6d93204
...
2021-04-14
Author | SHA1 | Date | |
---|---|---|---|
2bf2651cee | |||
aafa748f92 |
3
init.lua
@ -388,7 +388,7 @@ local on_digiline_receive_string = function(pos, node, channel, msg)
|
||||
end
|
||||
else
|
||||
local asc = string.byte(msg)
|
||||
if asc > 29 and asc < 256 then
|
||||
if asc > 30 and asc < 256 then
|
||||
minetest.swap_node(pos, { name = "led_marquee:char_"..asc, param2 = fdir + (last_color*8)})
|
||||
meta:set_string("last_msg", tostring(msg))
|
||||
meta:set_int("index", 1)
|
||||
@ -479,4 +479,3 @@ minetest.register_craft({
|
||||
},
|
||||
})
|
||||
|
||||
minetest.log("action", "[led_marquee] loaded.")
|
||||
|
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 168 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 83 B After Width: | Height: | Size: 115 B |