mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-11-15 23:00:22 +01:00
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