mirror of
https://cheapiesystems.com/git/digistuff
synced 2024-11-25 00:24:00 +01:00
Send the name of the player that interacted with the touchscreen
This commit is contained in:
parent
e23a308a1f
commit
9e272a414e
1
init.lua
1
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
|
||||
|
Loading…
Reference in New Issue
Block a user