From 9b72918beddb7a4f5ad13c237346f4c33c101b9c Mon Sep 17 00:00:00 2001 From: jogag Date: Tue, 1 Sep 2015 08:36:02 +0200 Subject: [PATCH] Fix a bug in keyboard Fixed a bug that sends nil (=does not send) instead of the text (mistype: "text" instead of "fields.text") --- digiboard/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digiboard/init.lua b/digiboard/init.lua index 8137796..f83331d 100644 --- a/digiboard/init.lua +++ b/digiboard/init.lua @@ -47,7 +47,7 @@ minetest.register_node("digiboard:keyboard", { meta:set_string("channel") meta:set_string("formspec", "field[text;Enter text;]") elseif fields.text then - digiline:receptor_send(pos, digiline.rules.default, channel, text) + digiline:receptor_send(pos, digiline.rules.default, channel, fields.text) end end, })