From 531b7f223ebf40beeea0eff414aedd774ca1f190 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 4 Oct 2015 14:31:53 +0100 Subject: [PATCH] Fix typo where keyboards didn't save their channel --- digiboard/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digiboard/init.lua b/digiboard/init.lua index f83331d..ca35a9e 100644 --- a/digiboard/init.lua +++ b/digiboard/init.lua @@ -44,7 +44,7 @@ minetest.register_node("digiboard:keyboard", { local meta = minetest.get_meta(pos) local channel = meta:get_string("channel") if fields.channel then - meta:set_string("channel") + meta:set_string("channel", fields.channel) meta:set_string("formspec", "field[text;Enter text;]") elseif fields.text then digiline:receptor_send(pos, digiline.rules.default, channel, fields.text)