Skip to content

Commit

Permalink
Merge branch 'BuckarooBanzai-master-patch-93143' into 'master'
Browse files Browse the repository at this point in the history
check proper `asc` range in digilines events too

See merge request VanessaE/led_marquee!7
  • Loading branch information
VanessaE committed Mar 15, 2021
2 parents 39f571f + aafa748 commit 2bf2651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2bf2651

Please sign in to comment.