From 9e272a414e1aafaae573c87cf9eeb8c5a7d543c0 Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 20 Sep 2018 17:29:35 -0500 Subject: Send the name of the player that interacted with the touchscreen --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 01aa586..2b1a52e 100644 --- a/init.lua +++ b/init.lua @@ -86,6 +86,7 @@ digistuff.ts_on_receive_fields = function (pos, formname, fields, sender) digistuff.update_ts_formspec(pos) end else + fields.clicker = sender:get_player_name() digiline:receptor_send(pos, digiline.rules.default, setchan, fields) end end -- cgit v1.2.3