Fix re-open of message view

After sending a message from drafts and closed the formspec, at next  call.
This commit is contained in:
Athozus 2023-04-15 22:08:15 +02:00
parent 307cd4fbb1
commit 19408bccdb
No known key found for this signature in database
GPG key ID: B50895022E8484BF

View file

@ -94,6 +94,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
end
minetest.after(0.5, function()
mail.selected_idxs.drafts[name] = nil
mail.show_mail_menu(name)
end)