diff options
author | Jeija <norrepli@gmail.com> | 2013-04-03 19:42:59 +0200 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2013-04-03 19:42:59 +0200 |
commit | ead577365db4aebc1a51a0c43a8ad7a756ed6ddb (patch) | |
tree | fd29c48fa011107958514229ac3867074d51b70f /digilines_lcd | |
parent | a463012491b946b872b8e7b4c504d114b9a22020 (diff) |
Fix bug: LCD screen is now not cleared if something is sent on a different channel
Diffstat (limited to 'digilines_lcd')
-rw-r--r-- | digilines_lcd/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/digilines_lcd/init.lua b/digilines_lcd/init.lua index 2f7cad8..447f01f 100644 --- a/digilines_lcd/init.lua +++ b/digilines_lcd/init.lua @@ -58,10 +58,10 @@ local prepare_writing = function (pos) end local on_digiline_receive = function(pos, node, channel, msg) - clearscreen(pos) local setchan = minetest.env:get_meta(pos):get_string("channel") if setchan ~= channel then return end + clearscreen(pos) local text = prepare_writing (pos) text:set_properties({textures={generate_texture(create_lines(msg))}}) end |