summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--digilines_lcd/init.lua2
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