Fix permanent HUD (#53)

Fix HUD staying there even you had read the message
This commit is contained in:
Athozus 2023-04-02 18:40:01 +02:00 committed by GitHub
parent 07f2c2888d
commit c94c82e5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,8 @@ function mail.show_message(name, id)
mail.mark_read(name, id)
end
mail.hud_update(name, mail.get_storage_entry(name).inbox)
minetest.show_formspec(name, FORMNAME, formspec)
end