Fix permanent HUD (#53)
Fix HUD staying there even you had read the message
This commit is contained in:
parent
07f2c2888d
commit
c94c82e5c1
@ -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…
x
Reference in New Issue
Block a user