Merge pull request #23 from MT-Modder/infotext-lcd

Add infotext to lcd, like signs
This commit is contained in:
Florian Euchner 2015-02-14 20:17:40 +01:00
commit e2b9141ccc

View File

@ -63,6 +63,7 @@ local on_digiline_receive = function(pos, node, channel, msg)
if setchan ~= channel then return end if setchan ~= channel then return end
meta:set_string("text", msg) meta:set_string("text", msg)
meta:set_string("infotext", msg)
clearscreen(pos) clearscreen(pos)
if msg ~= "" then if msg ~= "" then
prepare_writing(pos) prepare_writing(pos)