mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-12-24 17:50:20 +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