Skip to content

Commit

Permalink
Fix re-open of message view
Browse files Browse the repository at this point in the history
After sending a message from drafts and closed the formspec, at next  call.
  • Loading branch information
Athozus committed Apr 15, 2023
1 parent 7e17ff4 commit 17d4c2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/compose.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 17d4c2e

Please sign in to comment.