1
0
mirror of https://github.com/mt-mods/led_marquee.git synced 2024-11-17 15:18:17 +01:00

use string.char(10) for newline, like it should be

(since colors are now strings)
This commit is contained in:
Vanessa Dannenberg 2018-08-20 20:25:44 -04:00
parent 452102cc7c
commit 3ba2dbd1bd

View File

@ -224,7 +224,7 @@ led_marquee.display_msg = function(pos, channel, msg)
elseif string.match(node.name, "led_marquee:char_") elseif string.match(node.name, "led_marquee:char_")
and fdir ~= master_fdir or (setchan ~= nil and setchan ~= "" and setchan ~= channel) then and fdir ~= master_fdir or (setchan ~= nil and setchan ~= "" and setchan ~= channel) then
break break
elseif asc == 28 then elseif asc == 10 then
pos2.x = pos.x pos2.x = pos.x
pos2.y = pos2.y-1 pos2.y = pos2.y-1
pos2.z = pos.z pos2.z = pos.z