mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-20 16:41:25 +00:00
Update HUD when marking read in inbox list
This commit is contained in:
parent
9238029dd8
commit
e4716b432a
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||||
mail.mark_read(name, messagesSent[mail.selected_idxs.sent[name]].id)
|
mail.mark_read(name, messagesSent[mail.selected_idxs.sent[name]].id)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
mail.hud_update(name, messagesInbox)
|
||||||
mail.show_mail_menu(name)
|
mail.show_mail_menu(name)
|
||||||
|
|
||||||
elseif fields.markunread then
|
elseif fields.markunread then
|
||||||
|
|
Loading…
Add table
Reference in a new issue