Send the name of the player that interacted with the touchscreen

master
cheapie 2018-09-20 17:29:35 -05:00
parent e23a308a1f
commit 9e272a414e
1 changed files with 1 additions and 0 deletions

View File

@ -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