mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-15 06:01:25 +00:00
Fix permanent HUD (#53)
Fix HUD staying there even you had read the message
This commit is contained in:
parent
07f2c2888d
commit
c94c82e5c1
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue