Send the name of the player that interacted with the touchscreen

This commit is contained in:
cheapie 2018-09-20 17:29:35 -05:00
parent e23a308a1f
commit 9e272a414e

@ -86,6 +86,7 @@ digistuff.ts_on_receive_fields = function (pos, formname, fields, sender)
digistuff.update_ts_formspec(pos) digistuff.update_ts_formspec(pos)
end end
else else
fields.clicker = sender:get_player_name()
digiline:receptor_send(pos, digiline.rules.default, setchan, fields) digiline:receptor_send(pos, digiline.rules.default, setchan, fields)
end end
end end