forked from Mirrorlandia_minetest/digilines
Merge pull request #23 from MT-Modder/infotext-lcd
Add infotext to lcd, like signs
This commit is contained in:
commit
e2b9141ccc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user