mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-12 17:32:21 -04:00
Add empty trash button
This commit is contained in:
parent
8c20aeba5b
commit
f5198b9187
11 changed files with 269 additions and 271 deletions
|
@ -293,6 +293,10 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
elseif fields.new then
|
||||
mail.show_compose(name)
|
||||
|
||||
elseif fields.empty then
|
||||
mail.empty_trash(name)
|
||||
mail.show_mail_menu(name)
|
||||
|
||||
elseif fields.contacts then
|
||||
mail.show_contacts(name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue