Update HUD when marking read in inbox list

This commit is contained in:
Athozus 2023-04-03 16:34:44 +02:00 committed by GitHub
parent 9238029dd8
commit e4716b432a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
end
mail.hud_update(name, messagesInbox)
mail.show_mail_menu(name)
elseif fields.markunread then